Skip to content

Commit 808aec1

Browse files
authored
Merge pull request #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
''color''
18831883
1884-
The attribute value must parse as a HASH or IDENT CSS token,
1884+
The attribute value must parse as a <> or <token>>,
18851885
and be successfully interpreted as a <>.
18861886
The default is ''currentcolor''.
18871887

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

18981898
''integer''
18991899
1900-
The attribute value must parse as a NUMBER CSS token,
1900+
The attribute value must parse as a <token>>,
19011901
and be successfully interpreted as an <>.
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
''number''
19091909
1910-
The attribute value must parse as a NUMBER CSS token,
1910+
The attribute value must parse as a <token>>,
19111911
and is interpreted as an <>.
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
''time''
19211921
''frequency''
19221922
1923-
The attribute value must parse as a DIMENSION CSS token,
1923+
The attribute value must parse as a <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
''%''
19341934
A keyword matching one of the <>, <>, <, or <> units
19351935
1936-
The attribute value must parse as a NUMBER CSS token,
1936+
The attribute value must parse as a <token>>,
19371937
and is interpreted as a dimension 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
color
22512251
2252-
The attribute value must parse as a HASH or IDENT CSS token,
2252+
The attribute value must parse as a <> or <token>>,
22532253
and be successfully interpreted as a <>.
22542254
The default is ''currentcolor''.
22552255

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

22662266
integer
22672267
2268-
The attribute value must parse as a NUMBER CSS token,
2268+
The attribute value must parse as a <token>>,
22692269
and be successfully interpreted as an <>.
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
number
22772277
2278-
The attribute value must parse as a NUMBER CSS token,
2278+
The attribute value must parse as a <token>>,
22792279
and is interpreted as an <>.
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
time
22892289
frequency
22902290
2291-
The attribute value must parse as a DIMENSION CSS token,
2291+
The attribute value must parse as a <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
%
23022302
A keyword matching one of the <>, <>, <, or <> units
23032303
2304-
The attribute value must parse as a NUMBER CSS token,
2304+
The attribute value must parse as a <token>>,
23052305
and is interpreted as a dimension 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)