Closed
Bug 1389439
Opened 7 years ago
Closed 7 years ago
stylo: Enable test_underlying-discrete-value.html
Categories
(Core :: CSS Parsing and Computation, defect)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
mozilla57
Tracking | Status | |
---|---|---|
firefox57 | --- | fixed |
People
(Reporter: hiro, Assigned: daisuke)
References
Details
Attachments
(2 files)
Now three test cases fail:
20 INFO TEST-UNEXPECTED-FAIL | dom/animation/test/mozilla/test_underlying-discrete-value.html | Test for 0% keyframe only - Test for 0% keyframe only: assert_equals: alignContent of keyframes[1] should be unset expected "unset" but got "normal"
21 INFO TEST-UNEXPECTED-FAIL | dom/animation/test/mozilla/test_underlying-discrete-value.html | Test for 100% keyframe only - Test for 100% keyframe only: assert_equals: alignContent of keyframes[0] should be unset expected "unset" but got "normal"
22 INFO TEST-UNEXPECTED-FAIL | dom/animation/test/mozilla/test_underlying-discrete-value.html | Test for no 0%/100% keyframes and 'inherit' specified on target element - Test for no 0%/100% keyframes and 'inherit' specified on target element: assert_equals: alignContent of keyframes[0] should be inherit expected "inherit" but got "normal"
But it seems to me that these results are correct. We should fix the test cases and skip the cases on gecko.
Relevant spec;
https://drafts.csswg.org/css-align/#propdef-align-content
This spec supercedes the flex-box spec[1].
[1] https://drafts.csswg.org/css-flexbox-1/#propdef-justify-content
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → dakatsuka
Assignee | ||
Comment 1•7 years ago
|
||
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Reporter | ||
Comment 4•7 years ago
|
||
mozreview-review |
Comment on attachment 8897219 [details]
Bug 1389439 - Part 2: Enable test_underlying-discrete-value.html on stylo.
https://reviewboard.mozilla.org/r/168494/#review173742
This should be part 2 right?
Attachment #8897219 -
Flags: review?(hikezoe) → review+
Assignee | ||
Comment 5•7 years ago
|
||
mozreview-review-reply |
Comment on attachment 8897219 [details]
Bug 1389439 - Part 2: Enable test_underlying-discrete-value.html on stylo.
https://reviewboard.mozilla.org/r/168494/#review173742
yes, sorry
Reporter | ||
Comment 6•7 years ago
|
||
mozreview-review |
Comment on attachment 8897220 [details]
Bug 1389439 - Part 1: Use computed values as all expected values.
https://reviewboard.mozilla.org/r/168496/#review173744
As discussed with daisuke on IRC, the expected values for gecko are not meaningful here, and so we are going to skip the test case for gecko here.
::: dom/animation/test/mozilla/file_underlying-discrete-value.html:8
(Diff revision 1)
> <script src="../testcommon.js"></script>
> <body>
> <script>
> "use strict";
>
> +const isServo = SpecialPowers.DOMWindowUtils.isStyledByServo;
Use isStyledByServo() in testcommon.js.
Assignee | ||
Comment 7•7 years ago
|
||
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Reporter | ||
Comment 10•7 years ago
|
||
mozreview-review |
Comment on attachment 8897220 [details]
Bug 1389439 - Part 1: Use computed values as all expected values.
https://reviewboard.mozilla.org/r/168496/#review173782
::: dom/animation/test/mozilla/file_underlying-discrete-value.html:35
(Diff revision 2)
> - explanation: "Test for 0% keyframe only"
> + explanation: "Test for 0% keyframe only",
> + // The value of 100% should be 'normal',
> + // but we are not supporting underlying value for Gecko.
> + // https://bugzilla.mozilla.org/show_bug.cgi?id=1295401
> + // So, we skip this test case.
> + skip: !isStyledByServo()
We can define this value as a const variable at the beginning of this file.
Attachment #8897220 -
Flags: review?(hikezoe) → review+
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 13•7 years ago
|
||
Pushed by dakatsuka@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/561074529c44
Part 1: Use computed values as all expected values. r=hiro
https://hg.mozilla.org/integration/autoland/rev/60710f479dd3
Part 2: Enable test_underlying-discrete-value.html on stylo. r=hiro
Comment 14•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/561074529c44
https://hg.mozilla.org/mozilla-central/rev/60710f479dd3
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
You need to log in
before you can comment on or make changes to this bug.
Description
•