Closed Bug 1610981 Opened 4 years ago Closed 4 years ago

[web-animations-1] Dependency on CSSPseudoElement

Categories

(Core :: DOM: Animation, defect, P3)

defect

Tracking

()

RESOLVED FIXED
mozilla75
Tracking Status
firefox75 --- fixed

People

(Reporter: mozilla-apprentice, Assigned: boris)

References

(Blocks 2 open bugs)

Details

Attachments

(3 files)

A resolution was made for csswg-drafts/#4301.

[web-animations-1] Dependency on CSSPseudoElement

  • RESOLVED: Pseudo elements are targeted via a parent plus a pseudo selector

Discussion.

Perhaps we should wait for this PR merged: https://github.com/w3c/csswg-drafts/pull/4616 before working on this.

I've chased up the issue but I'm not sure we need to wait for it to be merged. I think there's enough of an outline there that we can start working on this. Doing that will help us to give more useful feedback too. (And I'm afraid if we don't start on it soon, we will be the last to ship getAnimations.)

I'm ok to work on this in the meantime (and keep tracking your review feedback on the PR). :)

Assignee: nobody → boris.chiou
Blocks: 1615083

In order to store the different combinations of (Element, PsuedoStyleType)
pairs, including (nullptr, ::before/::after), we drop Maybe<> and use
OwningAnimationTarget directly.

Replace ElementOrCSSPseudoElement with Element and add PseudoElement (which is
a DOMString) into KeyframeAnimationOptions and KeyframeEffect.

Blocks: 1615469
Pushed by bchiou@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0544d8d97106
Drop Maybe<> from KeyframeEffect::mTarget. r=birtles
https://hg.mozilla.org/integration/autoland/rev/ebfed5eb1869
Eliminate usage of CSSPseudoElement from KeyframeEffect. r=birtles,smaug
https://hg.mozilla.org/integration/autoland/rev/df47b5f850b6
Add a separate pref for CSSPseudoElement. r=smaug
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/21870 for changes under testing/web-platform/tests
Upstream web-platform-tests status checks passed, PR will merge once commit reaches central.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
Upstream PR merged by moz-wptsync-bot
Regressions: 1616544
Regressions: 1619276
Blocks: 1621174
Regressions: 1633486
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: