Support `::before::marker` and `::after::marker` in devtools inspector
Categories
(DevTools :: Inspector, enhancement)
Tracking
(firefox143 verified)
Tracking | Status | |
---|---|---|
firefox143 | --- | verified |
People
(Reporter: Oriol, Assigned: nchevobbe)
References
Details
(Keywords: dev-doc-needed)
Attachments
(5 files)
Bug 1980215 added support for ::before::marker
and ::after::marker
.
I think these should be exposed in devtools, just like Chrome.
Testcase: https://wpt.live/css/css-lists/nested-marker-styling.html
Reporter | ||
Comment 1•3 months ago
|
||
Comment 2•3 months ago
|
||
Thanks for filing this, Oriol!
Support for this is actually consists of two parts:
- The Rules View should show those rules.
- The Node View within the Inspector itself should show the
::marker
pseudo-elements as children of the::before
and:after
rules. Selecting them, should only show the the rules in the Rules View that apply to the::marker
pseudo-elements.
I think, the first point is a must-have to be able to see and manipulate those rules while the second point is a should-have.
Sebastian
Assignee | ||
Updated•3 months ago
|
Assignee | ||
Comment 3•2 months ago
|
||
Assignee | ||
Comment 4•2 months ago
|
||
The test does additional check than when it was first added, so change its name to make it more broad.
Assignee | ||
Comment 5•2 months ago
|
||
Comment 7•2 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/770fc1a97e1b
https://hg.mozilla.org/mozilla-central/rev/39f2c5a52d50
https://hg.mozilla.org/mozilla-central/rev/3cd4db7d272b
Comment 8•2 months ago
•
|
||
Verified that that it's working as expected in Nightly 143.0a1 (2025-08-08).
Sebastian
Comment 9•2 months ago
|
||
Thank you, for the quick fix, Nicolas!
Marking this as dev-doc-needed
, as it should be mentioned in the release notes for 143 on MDN. It might also be added to the general release notes, though it's an edge case.
Sebastian
Updated•1 month ago
|
Description
•