Closed
Bug 1636562
Opened 5 years ago
Closed 4 years ago
Unsupported ::marker properties can be set with web animations
Categories
(Core :: DOM: Animation, defect)
Core
DOM: Animation
Tracking
()
RESOLVED
FIXED
mozilla80
Tracking | Status | |
---|---|---|
firefox80 | --- | fixed |
People
(Reporter: Oriol, Assigned: birtles)
References
Details
Attachments
(2 files)
The ::marker pseudo-element supports a limited set of properties: https://drafts.csswg.org/css-pseudo-4/#marker-pseudo
In Firefox this is controlled by the layout.css.marker.restricted
pref, make sure it's set to true (the default).
Then, run the attached testcase:
<ul>
<li>list item</li>
</ul>
<script>
document.querySelector('li').animate([
{opacity: 0},
{opacity: 1},
], {
pseudoElement: '::marker',
duration: 1000,
});
</script>
Expected: opacity
doesn't apply to ::marker so there should be no animation.
Actual: the opacity is animated.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•4 years ago
|
Assignee: nobody → brian
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•4 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=09a12f165cd33b7dc39c3f0ac59c476a70874990
Hopefully some tests give unexpected results here--otherwise this will need tests too
Assignee | ||
Comment 4•4 years ago
|
||
Assignee | ||
Comment 5•4 years ago
|
||
Pushed by bbirtles.birchill@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/fbf04fb63a8a
Respect property restrictions on pseudo elements when animating; r=boris
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/24694 for changes under testing/web-platform/tests
Comment 8•4 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox80:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla80
Upstream PR merged by moz-wptsync-bot
Updated•4 years ago
|
Regressions: CVE-2021-23983
You need to log in
before you can comment on or make changes to this bug.
Description
•