Compute gradient stop positions in css pixels.
Categories
(Core :: Graphics, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox74 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
Details
Attachments
(1 file, 1 obsolete file)
Assignee | ||
Comment 1•6 years ago
|
||
The gradient code is the only one that does a really weird thing with
LengthPercentage values, by getting the percentage and length separately and
turning the length into a percentage relative to the line length (which is in
device pixels).
This won't work once we have min() / max() / etc. in CSS (as we can't access
the length and percentage components separately, as which one you choose may
depend on the percentage basis). So instead of that, use the regular
ResolveToCssPixels there are lengths involved.
We change a bit the surrounding code to work in CSS pixels, so as to avoid
unneeded CSS -> device pixel conversions.
Assignee | ||
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Assignee | ||
Comment 3•6 years ago
|
||
Comment 5•6 years ago
•
|
||
Backed out 2 changesets (Bug 1609711) for causing reftest failures on radial-size-1b.html.
Failure log: https://treeherder.mozilla.org/logviewer.html#?job_id=286098987&repo=autoland
Backout link: https://hg.mozilla.org/integration/autoland/rev/bfd9d64b9973a5b97dc8663c9ea84a1c1557c876
Assignee | ||
Updated•6 years ago
|
Comment 8•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/11fc4b2cfb35
https://hg.mozilla.org/mozilla-central/rev/7ae5377fd5fe
Updated•5 years ago
|
Description
•