You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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>
10742
10745
~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 <a-n-plus-b> type for CSS grammar purposes),\
10749
+
</li>
10750
+
<li>
10745
10751
%A, %B の値を得するために,当の~CSS~token列を解釈する方法
10746
-
]を述べる。
10747
10752
◎
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 <an+b> 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>
10750
10756
10751
10757
<p>
10752
-
~anb 型は、
10758
+
`a-n-plus-b$t 型は、
10753
10759
( `CSS-VALUES-4$r `§ 値~定義の構文$を利用して)
10754
10760
次で定義される:
10755
10761
◎
10756
-
The <an+b> type is defined (using the Value Definition Syntax in the Values & Units spec) as:
10762
+
The <a-n-plus-b> type is defined (using the Value Definition Syntax in the Values & Units spec) as:
To serialize an <an+b> value, with integer values A and B:
11869
+
To serialize an <a-n-plus-b> value, with integer values A and B:
11862
11870
• If A is zero, return the serialization of B.
11863
11871
• Otherwise, let result initially be an empty string.
11864
11872
• A is 1
@@ -12165,10 +12173,10 @@ <h3 title="Changes from the 20 February 2014 Candidate Recommendation">2014年 2
12165
12173
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 <CDC-token>s are recognized as such instead of becoming a -- <ident-token>.
12166
12174
</li>
12167
12175
<li>
12168
-
`~anb$ の`周期$ ~IN { 1, −1 } のときは、
12169
-
その数字は直列化しないようにした。
12176
+
`a-n-plus-b$t の`周期$ ~IN { 1, −1 } のときは、
12177
+
その数字を直列化しないようにした。
12170
12178
◎
12171
-
Don’t serialize the digit in an <an+b> when A is 1 or -1.
12179
+
Don’t serialize the digit in an <a-n-plus-b> when A is 1 or -1.
0 commit comments