Closed
Bug 2012042
Opened 10 days ago
Closed 5 days ago
(::before|::after)::marker doesn't support attr()
Categories
(Core :: Layout: Generated Content, Lists, and Counters, defect)
Core
Layout: Generated Content, Lists, and Counters
Tracking
()
RESOLVED
FIXED
149 Branch
| Tracking | Status | |
|---|---|---|
| firefox149 | --- | fixed |
People
(Reporter: nchevobbe, Assigned: jfkthame)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
Steps to reproduce
- Open attached test case
Expected results
Under Hello, there's a * character (coming from content: attr(data-mark, "?") since we have the following markup <div data-mark="*">)
Actual results
Under Hello, there's a ? character (the fallback value of attr() )
Comment 1•10 days ago
|
||
The frame constructor or nsAttrTextNode should walk to the ultimate originating element. Should be an easy fix.
I expect the attr() work Diego and Swarup are doing to eventually fix this as well, once we work on pseudo elements.
Blocks: css-attr
| Assignee | ||
Comment 2•7 days ago
|
||
Seems easiest to fix this in nsAttributeTextNode::BindToTree, probably. Trying a simple patch: https://treeherder.mozilla.org/jobs?repo=try&landoCommitID=174978
Severity: -- → S3
| Assignee | ||
Comment 3•6 days ago
|
||
Updated•6 days ago
|
Assignee: nobody → jfkthame
Status: NEW → ASSIGNED
Pushed by jkew@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/4dca853c619a
https://hg.mozilla.org/integration/autoland/rev/7837393122ef
Make attr() walk to the originating element of a pseudo-element to find the value. r=emilio
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/57377 for changes under testing/web-platform/tests
Comment 6•5 days ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 5 days ago
status-firefox149:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 149 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in
before you can comment on or make changes to this bug.
Description
•