Closed
Bug 1395189
Opened 8 years ago
Closed 8 years ago
stylo: -webkit-linear-gradient defaults to "bottom" as start side (but should default to "top")
Categories
(Core :: CSS Parsing and Computation, defect, P2)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
mozilla57
Tracking | Status | |
---|---|---|
firefox-esr52 | --- | unaffected |
firefox55 | --- | unaffected |
firefox56 | --- | unaffected |
firefox57 | --- | fixed |
People
(Reporter: dholbert, Assigned: canova)
References
Details
(Keywords: regression, testcase)
Attachments
(2 files, 1 obsolete file)
STR:
1. Load attached testcase.
EXPECTED RESULTS:
The side by side divs should look the same.
ACTUAL RESULTS:
The first div (the one that doesn't specify a start-side for its gradient) has its gradient backwards -- it has blue at the top instead of red.
Reporter | ||
Comment 1•8 years ago
|
||
Chrome and Firefox Nightly without stylo gives EXPECTED RESULTS.
Firefox Nightly with stylo gives ACTUAL RESULTS.
Summary: -webkit-linear-gradient defaults to "bottom" as start side (but should default to "top") → stylo: -webkit-linear-gradient defaults to "bottom" as start side (but should default to "top")
Reporter | ||
Updated•8 years ago
|
Comment 2•8 years ago
|
||
Nazim, can you have a look?
Assignee: nobody → canaltinova
Flags: needinfo?(canaltinova)
Priority: -- → P2
Comment hidden (mozreview-request) |
Assignee | ||
Comment 4•8 years ago
|
||
This patch works on my local build. Will do a try run to see.
Flags: needinfo?(canaltinova)
Comment 5•8 years ago
|
||
mozreview-review |
Comment on attachment 8902836 [details]
Bug 1395189 - stylo: Properly set direction of prefixed linear gradients
https://reviewboard.mozilla.org/r/174522/#review179654
Attachment #8902836 -
Flags: review?(manishearth) → review+
Comment hidden (mozreview-request) |
Comment 7•8 years ago
|
||
mozreview-review |
Comment on attachment 8902865 [details]
Bug 1395189 - Add reftest for default directions of prefixed linear gradients
https://reviewboard.mozilla.org/r/174558/#review179664
Attachment #8902865 -
Flags: review?(manishearth) → review+
Reporter | ||
Comment 8•8 years ago
|
||
Could you move the reftest to the layout/reftests/webkit-gradient directory (rather than in the modern "css-gradients" directory)?
Thanks for the quick action on the fix, BTW!
Flags: needinfo?(canaltinova)
Comment hidden (mozreview-request) |
Assignee | ||
Comment 10•8 years ago
|
||
Moved thanks!
I'll open a PR and land this after the previous try run finishes.
Flags: needinfo?(canaltinova)
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Comment 13•8 years ago
|
||
We also needed to update points_downwards method to handle this.
Comment hidden (mozreview-request) |
Assignee | ||
Updated•8 years ago
|
Attachment #8902836 -
Attachment is obsolete: true
Assignee | ||
Comment 15•8 years ago
|
||
Servo side: https://github.com/servo/servo/pull/18321
Comment 16•8 years ago
|
||
Looks like the PR landed, NI Nazim to land the testcase.
Flags: needinfo?(canaltinova)
Comment 17•8 years ago
|
||
Pushed by canaltinova@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/d98a26d6f1c7
Add reftest for default directions of prefixed linear gradients r=manishearth
Comment 19•8 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
Updated•8 years ago
|
status-firefox-esr52:
--- → unaffected
Flags: in-testsuite+
You need to log in
before you can comment on or make changes to this bug.
Description
•