Support DOMMatrix string constructor

This commit is contained in:
Kagami Sascha Rosylight 2019-06-30 18:01:42 +09:00
parent 489ff5e932
commit 7a1db0e8ea
6 changed files with 121 additions and 301 deletions

View file

@ -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