Auto merge of #12202 - peterjoel:issue_8509, r=nox

DOMMatrix and DOMMatrixReadOnly

<!-- 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 #8509.

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- 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="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12202)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-09-16 13:02:36 -05:00 committed by GitHub
commit 1fee88e59c
14 changed files with 1241 additions and 114 deletions

View file

@ -1,8 +1,5 @@
[DOMMatrix-001.htm]
type: testharness
[testConstructor0]
expected: FAIL
[testConstructor1]
expected: FAIL
@ -12,15 +9,9 @@
[testConstructor3]
expected: FAIL
[testConstructor4]
expected: FAIL
[testConstructor5]
expected: FAIL
[testConstructor6]
expected: FAIL
[testConstructor7]
expected: FAIL
@ -36,18 +27,9 @@
[testConstructor11]
expected: FAIL
[testConstructor12]
expected: FAIL
[testConstructor13]
expected: FAIL
[testConstructorIllegal0]
expected: FAIL
[testConstructorIllegal1]
expected: FAIL
[testConstructorIllegal2]
expected: FAIL

View file

@ -1,38 +0,0 @@
[DOMMatrix-002.htm]
type: testharness
[test translate() doesn't mutate]
expected: FAIL
[test scale() doesn't mutate]
expected: FAIL
[test scale3d() doesn't mutate]
expected: FAIL
[test rotate() doesn't mutate]
expected: FAIL
[test rotateFromVector() doesn't mutate]
expected: FAIL
[test rotateAxisAngle() doesn't mutate]
expected: FAIL
[test skewX() doesn't mutate]
expected: FAIL
[test skewY() doesn't mutate]
expected: FAIL
[test multiply() doesn't mutate]
expected: FAIL
[test flipX() doesn't mutate]
expected: FAIL
[test flipY() doesn't mutate]
expected: FAIL
[test inverse() doesn't mutate]
expected: FAIL

View file

@ -6,21 +6,9 @@
[test scale() without offsets]
expected: FAIL
[test scale() with offsets]
expected: FAIL
[test scale3d()]
expected: FAIL
[test rotate() 2d]
expected: FAIL
[test rotate()]
expected: FAIL
[test rotateFromVector()]
expected: FAIL
[test rotateAxisAngle() ]
expected: FAIL
@ -29,13 +17,3 @@
[test skewY()]
expected: FAIL
[test multiply with inverse is identity]
expected: FAIL
[test flipX()]
expected: FAIL
[test flipY()]
expected: FAIL

View file

@ -1,7 +1,5 @@
[DOMMatrix-001.xht]
type: testharness
[testConstructor0]
expected: FAIL
[testConstructor1]
expected: FAIL
@ -12,15 +10,9 @@
[testConstructor3]
expected: FAIL
[testConstructor4]
expected: FAIL
[testConstructor5]
expected: FAIL
[testConstructor6]
expected: FAIL
[testConstructor7]
expected: FAIL
@ -36,18 +28,9 @@
[testConstructor11]
expected: FAIL
[testConstructor12]
expected: FAIL
[testConstructor13]
expected: FAIL
[testConstructorIllegal0]
expected: FAIL
[testConstructorIllegal1]
expected: FAIL
[testConstructorIllegal2]
expected: FAIL

View file

@ -0,0 +1,19 @@
[DOMMatrix-003.xht]
type: testharness
[test translate()]
expected: FAIL
[test scale() without offsets]
expected: FAIL
[test rotate() 2d]
expected: FAIL
[test rotateAxisAngle() ]
expected: FAIL
[test skewX()]
expected: FAIL
[test skewY()]
expected: FAIL

View file

@ -1,7 +1,5 @@
[DOMMatrix-001.xht]
type: testharness
[testConstructor0]
expected: FAIL
[testConstructor1]
expected: FAIL
@ -12,15 +10,9 @@
[testConstructor3]
expected: FAIL
[testConstructor4]
expected: FAIL
[testConstructor5]
expected: FAIL
[testConstructor6]
expected: FAIL
[testConstructor7]
expected: FAIL
@ -36,18 +28,9 @@
[testConstructor11]
expected: FAIL
[testConstructor12]
expected: FAIL
[testConstructor13]
expected: FAIL
[testConstructorIllegal0]
expected: FAIL
[testConstructorIllegal1]
expected: FAIL
[testConstructorIllegal2]
expected: FAIL

View file

@ -0,0 +1,19 @@
[DOMMatrix-003.xht]
type: testharness
[test translate()]
expected: FAIL
[test scale() without offsets]
expected: FAIL
[test rotate() 2d]
expected: FAIL
[test rotateAxisAngle() ]
expected: FAIL
[test skewX()]
expected: FAIL
[test skewY()]
expected: FAIL

View file

@ -21,6 +21,8 @@ test_interfaces([
"CloseEvent",
"CSS",
"CSSStyleDeclaration",
"DOMMatrix",
"DOMMatrixReadOnly",
"DOMPoint",
"DOMPointReadOnly",
"DOMQuad",