W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2020

Re: [csswg-drafts] [css-values-4] Switch advanced attr() to being var()-like (#4482)

From: Mike Bremford via GitHub <sysbot+gh@w3.org>
Date: Fri, 24 Jul 2020 17:49:37 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-663657247-1595612976-sysbot+gh@w3.org>
The latest draft has the attribute name defined as `<wq-name>`, which would make all of these valid:
```css
attr(foo)
attr(m|foo)
attr(|foo)
attr(*|foo)
```
I don't think that last one was intentional, but if it was we need to define what it means with `<element a:foo="1" b:foo="2">`, as attribute order is not significant in XML.

-- 
GitHub Notification of comment by faceless2
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4482#issuecomment-663657247 using your GitHub account
Received on Friday, 24 July 2020 17:49:39 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:11 UTC