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)
Core
CSS Parsing and Computation
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.
| Assignee | ||
Comment 1•8 years ago
|
||
Gosh, I didn't check this carefully. We need content property to generate the pseudo element properly.
Assignee: nobody → hikezoe
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
Comment 4•8 years ago
|
||
| mozreview-review | ||
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+
| Reporter | ||
Comment 5•8 years ago
|
||
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)
| Assignee | ||
Comment 6•8 years ago
|
||
Filed bug 1387931. I was searching existing bugs but could not find it.
Flags: needinfo?(hikezoe)
| Assignee | ||
Comment 7•8 years ago
|
||
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
Comment 9•8 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
Updated•8 years ago
|
status-firefox55:
--- → wontfix
status-firefox56:
--- → wontfix
status-firefox-esr52:
--- → unaffected
You need to log in
before you can comment on or make changes to this bug.
Description
•