mirror of
https://github.com/servo/servo.git
synced 2025-10-03 10:09:20 +01:00
Auto merge of #16242 - pyfisch:transform-one, r=emilio
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 <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #15194 (github issue number if applicable). <!-- Either: --> - [X] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16242) <!-- Reviewable:end -->
This commit is contained in:
commit
8747c4e04c
8 changed files with 459 additions and 315 deletions
|
@ -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
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue