Skip to content

Commit 808aec1

Browse files
authored
Merge pull request w3c#2293 from csnardi/attr-tokens
Use CSS Syntax tokens for attr()
2 parents 5e043a0 + d65e80d commit 808aec1

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

css-values-3/Overview.bs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1881,7 +1881,7 @@ Ian's proposal:
18811881

18821882
<dt>''color''
18831883
<dd>
1884-
The attribute value must parse as a HASH or IDENT CSS token,
1884+
The attribute value must parse as a <<hash-token>> or <<ident-token>>,
18851885
and be successfully interpreted as a <<color>>.
18861886
The default is ''currentcolor''.
18871887

@@ -1897,7 +1897,7 @@ Ian's proposal:
18971897

18981898
<dt>''integer''
18991899
<dd>
1900-
The attribute value must parse as a NUMBER CSS token,
1900+
The attribute value must parse as a <<number-token>>,
19011901
and be successfully interpreted as an <<integer>>.
19021902
The default is ''0'',
19031903
or else the property's minimum value if ''0'' is not valid for the property.
@@ -1907,7 +1907,7 @@ Ian's proposal:
19071907

19081908
<dt>''number''
19091909
<dd>
1910-
The attribute value must parse as a NUMBER CSS token,
1910+
The attribute value must parse as a <<number-token>>,
19111911
and is interpreted as an <<number>>.
19121912
The default is ''0'',
19131913
or else the property's minimum value if ''0'' is not valid for the property.
@@ -1920,7 +1920,7 @@ Ian's proposal:
19201920
<dt>''time''
19211921
<dt>''frequency''
19221922
<dd>
1923-
The attribute value must parse as a DIMENSION CSS token,
1923+
The attribute value must parse as a <<dimension-token>>,
19241924
and be successfully interpreted as the specified type.
19251925
The default is ''0'' in the relevant units,
19261926
or else the property's minimum value if ''0'' in the relevant units is not valid for the property.
@@ -1933,7 +1933,7 @@ Ian's proposal:
19331933
<dt>''%''
19341934
<dt>A keyword matching one of the <<length>>, <<angle>>, <<time>>, or <<frequency>> units
19351935
<dd>
1936-
The attribute value must parse as a NUMBER CSS token,
1936+
The attribute value must parse as a <<number-token>>,
19371937
and is interpreted as a <a>dimension</a> with the specified unit.
19381938
The default is ''0'' in the relevant units,
19391939
or else the property's minimum value if ''0'' in the relevant units is not valid for the property.

css-values-4/Overview.bs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2249,7 +2249,7 @@ Ian's proposal:
22492249

22502250
<dt><dfn>color</dfn>
22512251
<dd>
2252-
The attribute value must parse as a HASH or IDENT CSS token,
2252+
The attribute value must parse as a <<hash-token>> or <<ident-token>>,
22532253
and be successfully interpreted as a <<color>>.
22542254
The default is ''currentcolor''.
22552255

@@ -2265,7 +2265,7 @@ Ian's proposal:
22652265

22662266
<dt><dfn>integer</dfn>
22672267
<dd>
2268-
The attribute value must parse as a NUMBER CSS token,
2268+
The attribute value must parse as a <<number-token>>,
22692269
and be successfully interpreted as an <<integer>>.
22702270
The default is ''0'',
22712271
or else the property's minimum value if ''0'' is not valid for the property.
@@ -2275,7 +2275,7 @@ Ian's proposal:
22752275

22762276
<dt><dfn>number</dfn>
22772277
<dd>
2278-
The attribute value must parse as a NUMBER CSS token,
2278+
The attribute value must parse as a <<number-token>>,
22792279
and is interpreted as an <<number>>.
22802280
The default is ''0'',
22812281
or else the property's minimum value if ''0'' is not valid for the property.
@@ -2288,7 +2288,7 @@ Ian's proposal:
22882288
<dt><dfn>time</dfn>
22892289
<dt><dfn>frequency</dfn>
22902290
<dd>
2291-
The attribute value must parse as a DIMENSION CSS token,
2291+
The attribute value must parse as a <<dimension-token>>,
22922292
and be successfully interpreted as the specified type.
22932293
The default is ''0'' in the relevant units,
22942294
or else the property's minimum value if ''0'' in the relevant units is not valid for the property.
@@ -2301,7 +2301,7 @@ Ian's proposal:
23012301
<dt><dfn>%</dfn>
23022302
<dt>A keyword matching one of the <<length>>, <<angle>>, <<time>>, or <<frequency>> units
23032303
<dd>
2304-
The attribute value must parse as a NUMBER CSS token,
2304+
The attribute value must parse as a <<number-token>>,
23052305
and is interpreted as a <a>dimension</a> with the specified unit.
23062306
The default is ''0'' in the relevant units,
23072307
or else the property's minimum value if ''0'' in the relevant units is not valid for the property.

0 commit comments

Comments
 (0)