mirror of
https://github.com/servo/servo.git
synced 2025-09-22 21:00:14 +01:00
Auto merge of #23665 - saschanaz:parse-transform, r=Manishearth
Support DOMMatrix string constructor <!-- Please describe your changes on the following line: --> Implemented DOMMatrix string constructor per [the spec](https://drafts.fxtf.org/geometry/#dom-dommatrixreadonly-dommatrixreadonly). --- <!-- 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 #23664, fix #23622 <!-- Either: --> - [x] There are tests for these changes <!-- 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/23665) <!-- Reviewable:end -->
This commit is contained in:
commit
294d701fda
6 changed files with 121 additions and 301 deletions
|
@ -1,293 +1,19 @@
|
|||
[DOMMatrix-001.html]
|
||||
type: testharness
|
||||
[testConstructor1]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructor2]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructor3]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructor5]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructor7]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructor8]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructor9]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructor10]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructor11]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructor13]
|
||||
expected: FAIL
|
||||
|
||||
[testConstructorIllegal0]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrix(undefined)]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrix(new DOMMatrix())]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrix("none")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrix(" none")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrix("none ")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrix("NONE")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrix("none/**/")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrix("/**/none")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrix("")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrix("scale(2) translateX(5px) translateY(5px)")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrix("scale(2, 2) translateX(5px) translateY(5px)")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrix("scale(2)translateX(5px)translateY(5px)")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrix("scale(2) translateX(calc(2 * 2.5px)) translateY(5px)")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrix("scale(2) translateX(5px) translateY(5px) rotate(5deg) rotate(-5deg)")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrix("translateX (5px)")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrix("scale(2 2) translateX(5) translateY(5)")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrix("scale(2, 2), translateX(5) ,translateY(5)")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrix("translateX(5em)")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrix("translateX(5ex)")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrix("translateX(5ch)")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrix("translateX(5rem)")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrix("translateX(5vw)")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrix("translateX(5vh)")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrix("translateX(5vmin)")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrix("translateX(5vmax)")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrix("translateX(5%)")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrix("rotate(5)")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrix("rotate(5, 5, 5)")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrix("rotate(5, 5px, 5px)")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrix("rotate(5deg, 5px, 5px)")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrix(" ")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrix("/**/")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrix("\\0")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrix(";")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrix("none;")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrix("null")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrix(null)]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrix("undefined")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrix("inherit")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrix("initial")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrix("unset")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrix(matrix)]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrix("scale(2, 2), translateX(5px) translateY(5px)")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrixReadOnly(undefined)]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrixReadOnly(new DOMMatrixReadOnly())]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrixReadOnly("none")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrixReadOnly(" none")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrixReadOnly("none ")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrixReadOnly("NONE")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrixReadOnly("none/**/")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrixReadOnly("/**/none")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrixReadOnly("")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrixReadOnly("scale(2) translateX(5px) translateY(5px)")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrixReadOnly("scale(2, 2) translateX(5px) translateY(5px)")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrixReadOnly("scale(2)translateX(5px)translateY(5px)")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrixReadOnly("scale(2) translateX(calc(2 * 2.5px)) translateY(5px)")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrixReadOnly("scale(2) translateX(5px) translateY(5px) rotate(5deg) rotate(-5deg)")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrixReadOnly("translateX (5px)")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrixReadOnly("scale(2 2) translateX(5) translateY(5)")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrixReadOnly("scale(2, 2), translateX(5) ,translateY(5)")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrixReadOnly("translateX(5em)")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrixReadOnly("translateX(5ex)")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrixReadOnly("translateX(5ch)")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrixReadOnly("translateX(5rem)")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrixReadOnly("translateX(5vw)")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrixReadOnly("translateX(5vh)")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrixReadOnly("translateX(5vmin)")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrixReadOnly("translateX(5vmax)")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrixReadOnly("translateX(5%)")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrixReadOnly("rotate(5)")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrixReadOnly("rotate(5, 5, 5)")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrixReadOnly("rotate(5, 5px, 5px)")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrixReadOnly("rotate(5deg, 5px, 5px)")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrixReadOnly(" ")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrixReadOnly("/**/")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrixReadOnly("\\0")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrixReadOnly(";")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrixReadOnly("none;")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrixReadOnly("null")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrixReadOnly(null)]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrixReadOnly("undefined")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrixReadOnly("inherit")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrixReadOnly("initial")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrixReadOnly("unset")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrixReadOnly(matrix)]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMMatrixReadOnly("scale(2, 2), translateX(5px) translateY(5px)")]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue