Closed
Bug 1544959
Opened 5 years ago
Closed 5 years ago
Style changes on ::marker pseudo-elements of ::before/::after pseudo-elements are broken
Categories
(Core :: CSS Parsing and Computation, defect)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
DUPLICATE
of bug 1544242
People
(Reporter: sebo, Unassigned)
References
()
Details
If the styles of a ::marker
pseudo-element are changed, they are not correctly applied if the ::marker
element is part of a ::before
or ::after
pseudo-element styled as list item.
Test case:
- Open data:text/html,<!doctype html><style>ul::before{content:"Before";display:list-item;}ul::after{content:"After";display:list-item;}::marker{color:red;}</style><ul><li>Bar
- Open the DevTools' Inspector
- Toggle the
color
property off
=> All markers are black (OK) - Toggle the
color
property on again
=> Only the "Bar" item's marker is red, the ones of the pseudo-elements stay black.
See also the related specification issue.
Sebastian
Comment 1•5 years ago
|
||
They're not supposed to be red in the first place ;)
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•