Skip to content

Commit 6959ce1

Browse files
[css-syntax-3][selectors-4][cssom-1] Rename <an+b> to <a-n-plus-b> w3c/csswg-drafts@a9805fb
+ [selectors-4] Fix URL of link to CSS Basic UI module w3c/csswg-drafts@afaf25f + [selectors-4] 編集(怪しい訳し方(注記)を修正など
1 parent 981a9db commit 6959ce1

3 files changed

Lines changed: 89 additions & 77 deletions

File tree

css-syntax-ja.html

Lines changed: 39 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -284,8 +284,8 @@
284284
●●options
285285

286286
spec_title:CSS Syntax Module Level 3
287-
spec_date:2026-04-28
288-
trans_update:2026-05-08
287+
spec_date:2026-06-10
288+
trans_update:2026-06-11
289289
source_checked:230508
290290
page_state_key:CSS
291291
original_url:https://drafts.csswg.org/css-syntax-3/
@@ -344,7 +344,6 @@
344344
●●words_table1
345345

346346
nB:<sup><a href="#anb-plus"></a></sup>
347-
anb:<var>&lt;an+b&gt;</var>
348347
AnB:<span class="css"><var>A</var>n+<var>B</var></span>
349348
An:<span class="css"><var>A</var>n</span>
350349

@@ -964,6 +963,7 @@
964963
t.signed-integer:#typedef-signed-integer
965964
t.signless-integer:#typedef-signless-integer
966965

966+
t.a-n-plus-b:#anb-production
967967
t.string:~CSSVAL#string-value
968968
t.color:~CSSCOLOR#typedef-color
969969
t.color:~CSSWG/css-color-3/#colorunits
@@ -1174,9 +1174,6 @@
11741174

11751175
~escape法:#escape-codepoint
11761176

1177-
~anb 値を直列化する:#serialize-an-anb-value
1178-
1179-
11801177
記述子:#css-descriptor
11811178
成分~~list:#_component-value-list
11821179

@@ -1188,11 +1185,11 @@
11881185

11891186
符号化法:#at-charset-encoding
11901187

1191-
~anb:#anb-production
11921188
~AnB:#anb
11931189
周期:#_anb-step
11941190
~offset:#_anb-offset
11951191
数字~:#_series-of-digits
1192+
#serialize-an-a-n-plus-b-value
11961193

11971194

11981195
●外部(CSS
@@ -10731,33 +10728,42 @@ <h3 title="Informal Syntax Description">6.1. 非正式な構文~記述</h3>
1073110728

1073210729
</section>
1073310730
<section id="the-anb-type">
10734-
<h3 title="The &lt;an+b&gt; type">6.2. ~anb</h3>
10731+
<h3 title="The &lt;a-n-plus-b&gt; type">6.2. `a-n-plus-b^t</h3>
1073510732

1073610733
<p>
10737-
~AnB 記法は、
10738-
元々は,~CSSの他のものと少し異なる~tokenizerを利用して定義された
10734+
`~AnB$ 記法は、
10735+
元々は,~CSSを成す他のものとは少し異なる~tokenizerを利用して定義された
1073910736
— その結果、
1074010737
~CSS~tokenの用語を通して表出するときには,いくぶん不規則な定義になる。
10741-
この節では、[
10738+
この節では、
10739+
次を述べる:
10740+
10741+
The An+B notation was originally defined using a slightly different tokenizer than the rest of CSS, resulting in a somewhat odd definition when expressed in terms of CSS tokens. This section describes\
10742+
</p>
10743+
<ul>
10744+
<li>
1074210745
~AnB 記法を~CSS~tokenの用語を通して認識する方法
10743-
(したがって,~CSS文法の目的に~~適した ~anb 型を定義する)
10744-
]および[
10746+
(したがって,~CSS文法の目的~用に `a-n-plus-b$t 型を定義する)
10747+
10748+
how to recognize the An+B notation in terms of CSS tokens (thus defining the &lt;a-n-plus-b&gt; type for CSS grammar purposes),\
10749+
</li>
10750+
<li>
1074510751
%A, %B の値を得するために,当の~CSS~token列を解釈する方法
10746-
]を述べる。
1074710752
10748-
The An+B notation was originally defined using a slightly different tokenizer than the rest of CSS, resulting in a somewhat odd definition when expressed in terms of CSS tokens. This section describes how to recognize the An+B notation in terms of CSS tokens (thus defining the &lt;an+b&gt; type for CSS grammar purposes), and how to interpret the CSS tokens to obtain values for A and B.
10749-
</p>
10753+
and how to interpret the CSS tokens to obtain values for A and B.
10754+
</li>
10755+
</ul>
1075010756

1075110757
<p>
10752-
~anb 型は、
10758+
`a-n-plus-b$t 型は、
1075310759
( `CSS-VALUES-4$r `§ 値~定義の構文$を利用して)
1075410760
次で定義される:
1075510761
10756-
The &lt;an+b&gt; type is defined (using the Value Definition Syntax in the Values &amp; Units spec) as:
10762+
The &lt;a-n-plus-b&gt; type is defined (using the Value Definition Syntax in the Values &amp; Units spec) as:
1075710763
</p>
1075810764

1075910765
<pre class="prod">
10760-
`~anb@
10766+
`a-n-plus-b@t
1076110767
= odd
1076210768
| even
1076310769
| `integer$t
@@ -10784,11 +10790,12 @@ <h3 title="The &lt;an+b&gt; type">6.2. ~anb 型</h3>
1078410790
</pre>
1078510791

1078610792
<p>
10787-
上に現れ, 下の表tの 1 列目に記される各種~生成規則は、[
10788-
同じ行の 2 列目の~token
10789-
]であって, その各~fieldが[
10790-
同じ行の 3 列目に記された条件
10791-
]を満たすものである:
10793+
次の表tの 1 列目に,上に現れる生成規則を挙げる。
10794+
各~生成規則は、[
10795+
同じ行の 2 列目に挙げる~token
10796+
]のうち, その各~fieldが[
10797+
同じ行の 3 列目に挙げる条件
10798+
]を満たすものとして定義される:
1079210799
1079310800
where:
1079410801
</p>
@@ -10883,7 +10890,7 @@ <h3 title="The &lt;an+b&gt; type">6.2. ~anb 型</h3>
1088310890
この表tの中の
1088410891
`数字~列@
1088510892
は、
10886-
`数字$のみからなる,長さ 1 以上の任意の~~連なりを表す。
10893+
1 個以上の`数字$からなる,任意の~~連なりを表す。
1088710894
</p>
1088810895

1088910896
<p id="anb-plus">
@@ -11808,11 +11815,12 @@ <h2 title="Serialization">9. 直列化</h2>
1180811815
</div>
1180911816

1181011817
<section id="serializing-anb">
11811-
<h3 title="Serializing &lt;an+b&gt;">9.1. ~anb の直列化-法</h3>
11818+
<h3 title="Serializing &lt;a-n-plus-b&gt;">9.1. `a-n-plus-b^t の直列化-法</h3>
1181211819

1181311820
<div class="algo">
1181411821
<p>
11815-
`~anb 値を直列化する@
11822+
`a-n-plus-b$t 値を
11823+
`直列化する@#serialize-an-a-n-plus-b-value@
1181611824
~algoは、
1181711825
所与の
1181811826
( `周期$ %A, `~offset$ %B )
@@ -11858,7 +11866,7 @@ <h3 title="Serializing &lt;an+b&gt;">9.1. ~anb の直列化-法</h3>
1185811866
</li>
1185911867
</ol>
1186011868
11861-
To serialize an &lt;an+b&gt; value, with integer values A and B:
11869+
To serialize an &lt;a-n-plus-b&gt; value, with integer values A and B:
1186211870
• If A is zero, return the serialization of B.
1186311871
• Otherwise, let result initially be an empty string.
1186411872
• A is 1
@@ -12165,10 +12173,10 @@ <h3 title="Changes from the 20 February 2014 Candidate Recommendation">2014年 2
1216512173
Change the definition of ident-like tokens to allow "--" to start an ident. As part of this, rearrange the ordering of the clauses in the "-" step of consume a token so that &lt;CDC-token&gt;s are recognized as such instead of becoming a -- &lt;ident-token&gt;.
1216612174
</li>
1216712175
<li>
12168-
`~anb$ の`周期$ ~IN { 1, −1 } のときは、
12169-
その数字は直列化しないようにした
12176+
`a-n-plus-b$t の`周期$ ~IN { 1, −1 } のときは、
12177+
その数字を直列化しないようにした
1217012178
12171-
Don’t serialize the digit in an &lt;an+b&gt; when A is 1 or -1.
12179+
Don’t serialize the digit in an &lt;a-n-plus-b&gt; when A is 1 or -1.
1217212180
</li>
1217312181
<li>
1217412182
すべての~tokenは

cssom-ja.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,8 @@
182182
●●options
183183

184184
spec_title:CSS Object Model (CSSOM) Module Level 1
185-
spec_date:2026-05-01
186-
trans_update:2026-05-09
185+
spec_date:2026-06-10
186+
trans_update:2026-06-11
187187
source_checked:250502
188188
page_state_key:CSS
189189
original_url:https://drafts.csswg.org/cssom-1/
@@ -2904,10 +2904,10 @@ <h3 title="Serializing Selectors">5.2. 選択子の直列化-法</h3>
29042904
<dt>`nth-of-type()$ps</dt>
29052905
<dt>`nth-last-of-type()$ps</dt>
29062906
<dd>
2907-
`CSS3SYN$r <a href="~CSSSYN#serializing-anb">§ `an+b^t の直列化-法</a>
2907+
`CSS3SYN$r <a href="~CSSSYN#serializing-anb">§ `a-n-plus-b^t の直列化-法</a>
29082908
を利用して,引数を直列化した結果
29092909
2910-
The result of serializing the value using the rules to serialize an &lt;an+b&gt; value.
2910+
The result of serializing the value using the rules to serialize an &lt;a-n-plus-b&gt; value.
29112911
</dd>
29122912
<dd class="trans-note">
29132913
これらの疑似類の引数には "`of …^css" 以下を成す部分もあるが、

0 commit comments

Comments
 (0)