mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 16:25:38 +00:00
049fa64ff0
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. Differential Revision: https://phabricator.services.mozilla.com/D60159 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
base | ||
build | ||
doc | ||
forms | ||
generic | ||
inspector | ||
ipc | ||
mathml | ||
media | ||
painting | ||
printing | ||
reftests | ||
style | ||
svg | ||
tables | ||
tools | ||
xul | ||
moz.build |