Skip to content

Commit 8a8e317

Browse files
committed
[css-syntax] Fix bug in the ndashdigit cases, so it retrieves from the ident's representation as appropraite.
1 parent 7b02cb6 commit 8a8e317

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

css-syntax/Overview.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4156,9 +4156,9 @@ <h3 id=the-anb-type><span class=secno>6.2. </span> The <a
41564156
href="#ltdashndashdigit-ident"><code><var>&lt;dashndashdigit-ident></var></code></a>
41574157

41584158
<dd> <a href="#a"><var>A</var></a> is the dimension's value, 1, or -1,
4159-
respectively. <a href="#b"><var>B</var></a> is the dimension's unit, with
4160-
the first two characters removed and the remainder interpreted as a
4161-
base-10 number.
4159+
respectively. <a href="#b"><var>B</var></a> is the dimension's unit or
4160+
ident's representation, as appropriate, with the first two characters
4161+
removed and the remainder interpreted as a base-10 number.
41624162

41634163
<dt><code><a href="#ltn-dimension"><var>&lt;n-dimension></var></a> <a
41644164
href="#ltsigned-integer"><var>&lt;signed-integer></var></a></code>

css-syntax/Overview.src.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3053,7 +3053,7 @@ <h3 id="the-anb-type">
30533053
<dt><code>'+'? <var>&lt;ndashdigit-ident></var></code>
30543054
<dt><code><var>&lt;dashndashdigit-ident></var></code>
30553055
<dd>
3056-
<var>A</var> is the dimension's value, 1, or -1, respectively. <var>B</var> is the dimension's unit, with the first two characters removed and the remainder interpreted as a base-10 number.
3056+
<var>A</var> is the dimension's value, 1, or -1, respectively. <var>B</var> is the dimension's unit or ident's representation, as appropriate, with the first two characters removed and the remainder interpreted as a base-10 number.
30573057

30583058
<dt><code><var>&lt;n-dimension></var> <var>&lt;signed-integer></var></code>
30593059
<dt><code>'+'? n <var>&lt;signed-integer></var></code>

0 commit comments

Comments
 (0)