gecko-dev/servo
Boris Chiou 33ba1b4ed4 Bug 1734472 - Tweak the serialization of rotate property. r=emilio
The serialization of rotate should be updated to match the current spec.

1. If a rotation about the z axis (that is, in 2D) is specified, the property
   must serialize as just an <angle>.

2. If any other rotation is specified, the property must serialize with an axis
   specified. If the axis is parallel with the x or y axes, it must serialize
   as the appropriate keyword.

Also, we need to handle the zero length vector separately because it is
parallel to every other vector but different from x axis, y axis, or z axis.

Differential Revision: https://phabricator.services.mozilla.com/D127747
2021-10-07 20:05:10 +00:00
..
components Bug 1734472 - Tweak the serialization of rotate property. r=emilio 2021-10-07 20:05:10 +00:00
ports/geckolib Bug 1733384 - Make inert not modify the computed style. r=sefeng,layout-reviewers,jfkthame 2021-10-07 17:00:36 +00:00
tests/unit Bug 1728617 - Tweak at-rule parsing APIs to support cascade layers. r=boris 2021-09-03 09:26:10 +00:00
moz.build
rustfmt.toml