Closed Bug 1387910 Opened 8 years ago Closed 8 years ago

stylo: getAnimations may return null for pseudo-element

Categories

(Core :: CSS Parsing and Computation, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla57
Tracking Status
firefox-esr52 --- unaffected
firefox55 --- wontfix
firefox56 --- wontfix
firefox57 --- fixed

People

(Reporter: xidorn, Assigned: hiro)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Test dom/base/test/test_domwindowutils.html fails with stylo inside test_getUnanimatedComputedStyle, specifically, it times out during executing > checkUnanimatedComputedStyle(property, initialStyle, "::before", > expectedInitialStyle, expectedInitialStyle, > pseudoAnimation, "Animation at pseudo"); because > const animation = animate(div); in checkUnanimatedComputedStyle returns null, which leads to a JavaScript error.
Gosh, I didn't check this carefully. We need content property to generate the pseudo element properly.
Assignee: nobody → hikezoe
Comment on attachment 8894382 [details] Bug 1387910 - Set content property other than neither 'normal' nor 'none' to generate pseudo element properly. https://reviewboard.mozilla.org/r/165564/#review170622 LGTM. Setting content property makes sense, just like what we did for Bug 1376247
Attachment #8894382 - Flags: review?(boris.chiou) → review+
Hmmm... changing the test? It sounds like a content-observable behavior change, then. Should we file a bug to describe this difference against bug 1365771?
Flags: needinfo?(hikezoe)
Filed bug 1387931. I was searching existing bugs but could not find it.
Flags: needinfo?(hikezoe)
https://treeherder.mozilla.org/#/jobs?repo=try&revision=e9b2f48e0afa3debdb63dfbe547a3171cfcf3eaf Oops, now stylo is built by default, I could specify artifact builds there.
Pushed by hikezoe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/80648a32ef36 Set content property other than neither 'normal' nor 'none' to generate pseudo element properly. r=boris
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: