Skip to content

Commit dc5e81c

Browse files
[selectors-4] Defined language range w3c/csswg-drafts@1768c42
1 parent d39466e commit dc5e81c

1 file changed

Lines changed: 13 additions & 7 deletions

File tree

selectors4-ja.html

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,8 @@
190190
●●options
191191

192192
spec_title:Selectors Level 4
193-
spec_date:2026-03-24
194-
trans_update:2026-03-25
193+
spec_date:2026-03-31
194+
trans_update:2026-04-01
195195
source_checked:250506
196196
page_state_key:CSS
197197
original_url:https://drafts.csswg.org/selectors-4/
@@ -5969,7 +5969,7 @@ <h3 title="The Language Pseudo-class: :lang()">7.2. 自然言語: `lang()^ps
59695969
`lang()$ps の中の各
59705970
`言語~範囲@
59715971
( `language range^en )は、
5972-
妥当な[
5972+
`BCP47$r に定義されるとおりの`拡張d言語~範囲@~RFCx/rfc4647#section-2.2$であり,妥当な[
59735973
`ident$t / `string$t
59745974
]でなければナラナイ
59755975
(したがって、
@@ -5978,7 +5978,7 @@ <h3 title="The Language Pseudo-class: :lang()">7.2. 自然言語: `lang()^ps
59785978
文字列として引用符で括る(例: `:lang("*-Latn")^css )
59795979
ことが要求される【!must】。
59805980
5981-
If the document language specifies how the (human) content language of an element is determined, it is possible to write selectors that represent an element based on its content language. The :lang() pseudo-class, which accepts a comma-separated list of one or more language ranges, represents an element whose content language is one of the languages listed in its argument. Each language range in :lang() must be a valid CSS &lt;ident&gt; or &lt;string&gt;. (Thus language ranges containing asterisks, for example, must be either correctly escaped or quoted as strings, e.g. :lang(\*-Latn) or :lang("*-Latn").)
5981+
If the document language specifies how the (human) content language of an element is determined, it is possible to write selectors that represent an element based on its content language. The :lang() pseudo-class, which accepts a comma-separated list of one or more language ranges, represents an element whose content language is one of the languages listed in its argument. Each language range in :lang() is an extended language range, as defined in BCP 47, and must be a valid CSS &lt;ident&gt; or &lt;string&gt;. (Thus language ranges containing asterisks, for example, must be either correctly escaped or quoted as strings, e.g. :lang(\*-Latn) or :lang("*-Latn").)
59825982
</p>
59835983

59845984
<p class="note">注記:
@@ -6062,7 +6062,7 @@ <h3 title="The Language Pseudo-class: :lang()">7.2. 自然言語: `lang()^ps
60626062
— 当の形式が~XML `XML10$r に基づく事例では、
60636063
`xml:lang^a 属性により —
60646064
言語を指示することが推奨される。
6065-
“`言語~tagの選び方@https://www.w3.org/International/questions/qa-choosing-language-tags$”
6065+
“`言語~tagの選び方@https://www.w3.org/International/questions/qa-choosing-language-tags$”
60666066
を見よ。
60676067
60686068
Note: It is recommended that documents and protocols indicate language using language tags from [BCP47], and in the case of XML-based formats, by means of xml:lang attributes. [XML10] See “Choosing a Language Tag”
@@ -10335,13 +10335,19 @@ <h2 title="Changes">変更点</h2>
1033510335

1033610336
<dl>
1033710337
<dt id="changes-2022-11">
10338-
<a href="~TR/2022/WD-selectors-4-20221111/">2022年 11月 11日 作業草案</a>
10338+
`2022年 11月 11日 作業草案@~TR/2022/WD-selectors-4-20221111/$
1033910339
からの有意な変更点
1034010340
1034110341
18.1. Changes since the 11 November 2022 Working Draft
1034210342
• Significant changes since the 11 November 2022 Working Draft:
1034310343
</dt>
1034410344
<dd>
10345+
`言語~範囲$を `BCP47$r の拡張d言語~範囲として定義した。
10346+
( `13646$issue )
10347+
10348+
Defined language range as BCP 47 extended language range (&lt;a href="https://github.com/w3c/csswg-drafts/issues/13646"Issue 13646&gt;)
10349+
</dd>
10350+
<dd>
1034510351
~risk下にあった[
1034610352
`read-write$ps, `has()$ps
1034710353
]をそうでなくした。
@@ -10420,7 +10426,7 @@ <h2 title="Changes">変更点</h2>
1042010426
</dd>
1042110427

1042210428
<dt id="changes-2022-05">
10423-
<a href="~TR/2022/WD-selectors-4-20220507/">2022年 5月 7日 作業草案</a>
10429+
`2022年 5月 7日 作業草案@~TR/2022/WD-selectors-4-20220507/$
1042410430
からの有意な変更点
1042510431
1042610432
18.2. Changes since the 7 May 2022 Working Draft

0 commit comments

Comments
 (0)