gecko-dev/servo
Boris Chiou f918f7fc49 Bug 1594946 - Treat 3d translate/scale as 2d if the value can be expressed as 2d. r=emilio
For the individual transform properties if they spec a value that can be
expressed as 2d we treat as 2d and serialize accordingly.

We drop Translate::Translate and Scale::Scale, and then rename
Translate::Translate3D as Translate::Translate, Scale::Scale3D as
Scale::Scale. So now we use Translate::Translate to represent 2d and 3d
translation, and Scale::Scale to represent 2d and 3d scale. There is no
difference between 2d and 3d translate/scale in Gecko because we always
convert them into 3d format to layers (on the compositor thread), so this
change makes things simpler.

Differential Revision: https://phabricator.services.mozilla.com/D52931

--HG--
extra : moz-landing-system : lando
2019-11-15 19:38:24 +00:00
..
components Bug 1594946 - Treat 3d translate/scale as 2d if the value can be expressed as 2d. r=emilio 2019-11-15 19:38:24 +00:00
ports/geckolib Bug 1588431 - Fix cascade order of shadow parts. r=heycam 2019-11-14 02:49:54 +00:00
tests/unit Bug 1582224 - Split SIDEWAYS bit in WritingMode. r=jfkthame,emilio 2019-09-19 02:37:14 +00:00
moz.build Bug 1474793 - Part 7: Add SharedMemoryBuilder type and ToShmem trait. r=emilio 2019-03-30 00:15:59 +00:00
rustfmt.toml Bug 1505618 - Add Servo's rustfmt.toml to the servo/ directory. r=heycam 2018-11-08 00:50:17 +01:00