Skip to content

Commit ae9bdf5

Browse files
andruudAnders Hartvoll Ruud
and
Anders Hartvoll Ruud
authored
[css-values-5] Disallow whitespace in <attr-name> (w3c#11431)
This is not allowed in `<wq-name>`, and shouldn't be allowed in `<attr-name>` either. Co-authored-by: Anders Hartvoll Ruud <andruud@google.com>
1 parent 761f69a commit ae9bdf5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

css-values-5/Overview.bs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1588,6 +1588,9 @@ Ian's proposal:
15881588
As with [=attribute selectors=],
15891589
the case-sensitivity of <<attr-name>> depends on the document language.
15901590

1591+
Whitespace is not allowed
1592+
between any of the components of <<attr-name>>.
1593+
15911594
If ''attr()'' is used in a property applied to an element,
15921595
it references the attribute of the given name on that element;
15931596
if applied to a pseudo-element,

0 commit comments

Comments
 (0)