Skip to content

Commit 1741f95

Browse files
committed
[css-values] Generify the handling of units in the attr() type arg.
1 parent c55f518 commit 1741f95

File tree

1 file changed

+1
-20
lines changed

1 file changed

+1
-20
lines changed

css-values/Overview.bs

+1-20
Original file line numberDiff line numberDiff line change
@@ -1921,27 +1921,8 @@ Ian's proposal:
19211921
and the attribute is out of range (e.g. a negative length or 180deg).
19221922
If the unit is a relative length, it must be computed to an absolute length.
19231923

1924-
<dt>''em''
1925-
<dt>''ex''
1926-
<dt>''px''
1927-
<dt>''rem''
1928-
<dt>''vw''
1929-
<dt>''vh''
1930-
<dt>''vmin''
1931-
<dt>''vmax''
1932-
<dt>''mm''
1933-
<dt>''cm''
1934-
<dt>''in''
1935-
<dt>''pt''
1936-
<dt>''pc''
1937-
<dt>''deg''
1938-
<dt>''grad''
1939-
<dt>''rad''
1940-
<dt>''ms''
1941-
<dt>''s''
1942-
<dt>''Hz''
1943-
<dt>''kHz''
19441924
<dt>''%''
1925+
<dt>A keyword matching one of the <<length>>, <<angle>>, <<time>>, or <<frequency>> units
19451926
<dd>
19461927
The attribute value must parse as a NUMBER CSS token,
19471928
and is interpreted as a <a>dimension</a> with the specified unit.

0 commit comments

Comments
 (0)