gecko-dev/layout
Emilio Cobos Álvarez 049fa64ff0 Bug 1609711 - Compute gradient positions in css pixels. r=jrmuizel
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
2020-01-23 00:36:12 +00:00
..
base Bug 1592822 - Use Serde for SVGOffsetPath. r=emilio 2020-01-22 20:18:35 +00:00
build Bug 1519636 - Automatically reformat recent changes using clang-format r=Ehsan 2020-01-21 09:51:27 +00:00
doc
forms Bug 1519636 - Automatically reformat recent changes using clang-format r=Ehsan 2020-01-21 09:51:27 +00:00
generic Backed out 2 changesets (bug 1516413) for valgrind failure CLOSED TREE 2020-01-23 00:53:42 +02:00
inspector Bug 1607408 - Remove InspectorUtils.getBindingURLs. r=jwatt 2020-01-09 19:08:30 +00:00
ipc Bug 1605934 - Use nested namespaces r=sg 2020-01-18 13:48:34 +00:00
mathml Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2020-01-09 21:50:11 +00:00
media
painting Bug 1609711 - Compute gradient positions in css pixels. r=jrmuizel 2020-01-23 00:36:12 +00:00
printing Bug 1570499 - Part 1: Replace MOZ_FALLTHROUGH macro with C++17's [[fallthrough]] attribute. r=froydnj 2019-12-20 07:16:43 +00:00
reftests Bug 1609711 - Compute gradient positions in css pixels. r=jrmuizel 2020-01-23 00:36:12 +00:00
style Bug 1592822 - Replace StyleVecU8 with ipc::ByteBuf. r=emilio 2020-01-22 20:18:40 +00:00
svg Bug 1609996 - Remove mozilla::Swap in favor of std::swap. r=froydnj 2020-01-20 16:17:06 +00:00
tables Bug 1609996 - Remove mozilla::Swap in favor of std::swap. r=froydnj 2020-01-20 16:17:06 +00:00
tools Bug 1602898: Rename Window.getWindowGlobalChild() to .windowGlobalChild. r=farre 2020-01-21 21:32:28 +00:00
xul Bug 1609996 - Reorder some includes affected by the previous patches. r=froydnj 2020-01-20 16:19:48 +00:00
moz.build