Auto merge of #18750 - Manishearth:transform-generic, r=emilio,xidorn

Make transforms generic

This makes the specified and computed value of transform share a generic
backing enum.

This will eventually be a complete fix for
https://bugzilla.mozilla.org/show_bug.cgi?id=1391145 , and also
incidentally fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1405881

Currently WIP -- the generic transform exists and is used, but this
currently misses some animation and glue cases.

<!-- 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/18750)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2017-11-02 17:02:07 -05:00 committed by GitHub
commit c494d25e24
20 changed files with 1580 additions and 1347 deletions

View file

@ -1,8 +0,0 @@
[2d-rotate-js.html]
type: testharness
[this should make a small green square rotated 30 degrees, and the browser should return the rotation as 30 degrees as the computed value NOT a matrix]
expected: FAIL
[JS test: Rotate via javascript must show the correct computed rotation]
expected: FAIL

View file

@ -11,7 +11,3 @@
[Matrix for skew]
expected: FAIL
[Matrix for general transform]
expected: FAIL

View file

@ -1,5 +0,0 @@
[transform_translate_invalid.html]
type: testharness
[transform_translate_null_null]
expected: FAIL

View file

@ -1,5 +0,0 @@
[transform_translate_max.html]
type: testharness
[transform_translate_max]
expected: FAIL

View file

@ -1,5 +0,0 @@
[transform_translate_min.html]
type: testharness
[transform_translate_min]
expected: FAIL