[css-attr] attr() should support namespaced attributes.
Categories
(Core :: CSS Parsing and Computation, defect, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox150 | --- | fixed |
People
(Reporter: emilio, Assigned: descalante)
References
(Blocks 2 open bugs)
Details
(Keywords: dev-doc-complete, Whiteboard: css-attr, [wptsync upstream])
Attachments
(2 files)
A quick run with attr enabled by default shows some interesting failures: https://treeherder.mozilla.org/jobs?repo=try&revision=4242db087491ac39f9e5ad169228b746fc926082
A bunch of them are due to missing namespace support for attr(). The <attr-name> production includes an optional namespace prefix. The content function deals with it, might be worth factoring the namespace_prefix + namespace_url + attribute into a common AttrName struct.
| Reporter | ||
Comment 1•6 months ago
|
||
There are also a few invalidation issues (not totally unexpected).
| Assignee | ||
Updated•6 months ago
|
| Assignee | ||
Comment 3•5 months ago
|
||
| Assignee | ||
Comment 4•5 months ago
|
||
Comment 7•5 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/fa90b2078932
https://hg.mozilla.org/mozilla-central/rev/1b7975726a43
Updated•4 months ago
|
Comment 10•2 months ago
|
||
I am not sure this is working as expected.
See line 20 in the CSS of this codepen
I could have written this wrong.
| Reporter | ||
Comment 11•2 months ago
|
||
Dave I think it's working fine? The data-color attribute there has null namespace not svg-namespace
| Assignee | ||
Updated•2 months ago
|
Description
•