Forbid accessing the length and percentage parts of a LengthPercentage separately.
Categories
(Core :: CSS Parsing and Computation, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox74 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
Details
Attachments
(2 files)
Assignee | ||
Comment 1•5 years ago
|
||
This is just not a thing you can do if you have min() / max() / etc, as the min
/ max value may depend on the percentage basis.
Assignee | ||
Comment 2•5 years ago
|
||
This simplifies a bit the code, and guarantees that all calc()s have percentages
and lengths.
I also wanted to remove unclamped_length() / specified_percentage() (for the
same reason as the above patch), but they're needed for animations for now. When
I implement min() / max() for <length-percentage> they'll be fixed.
Comment 5•5 years ago
•
|
||
Backed out 2 changesets (bug 1609737) for causing build bustages on nsCSSRenderingGradients after backing out Bug 1609711.
Failure log: https://treeherder.mozilla.org/logviewer.html#?job_id=286102860&repo=autoland
Backout link: https://hg.mozilla.org/integration/autoland/rev/79a03c321f93c2a2456f31a6070f5bf7ce897bcb
Assignee | ||
Updated•5 years ago
|
Comment 7•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/6c6d488d79fa
https://hg.mozilla.org/mozilla-central/rev/9e5eb3e65f05
Description
•