Implement serialization for transform functions.

Preserve more information from transform function parsing.
Preserve angle unit while parsing.
Simplify SpecifiedMatrix.
Use the write! macro for formatting with a helper called Css.
Implement ToCss for &T if T implements ToCss.
Add some tests and update others.

closes #15194
This commit is contained in:
Pyfisch 2017-04-03 15:19:37 +02:00
parent e2671459cb
commit 480f59c880
8 changed files with 459 additions and 315 deletions

View file

@ -1,26 +0,0 @@
[css-transform-style-evaluation-validation.htm]
type: testharness
[transform: Check rotate(0) input.]
expected: FAIL
[transform: Check rotateX(0) input.]
expected: FAIL
[transform: Check rotateY(0) input.]
expected: FAIL
[transform: Check rotateZ(0) input.]
expected: FAIL
[transform: Check rotate(string) input.]
expected: FAIL
[transform: Check rotateX(string) input.]
expected: FAIL
[transform: Check rotateY(string) input.]
expected: FAIL
[transform: Check rotateZ(string) input.]
expected: FAIL