Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(85)

Side by Side Diff: third_party/WebKit/LayoutTests/transforms/cssmatrix-2d-interface-expected.txt

Issue 2943213002: Revert of Make WebKitCSSMatrix an alias of DOMMatrix (Closed)
Patch Set: Revert of Make WebKitCSSMatrix an alias of DOMMatrix (patchset #16 id:300001 of https://codereview.… Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 This test exercises the CSSMatrix interface 1 This test exercises the CSSMatrix interface
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 CSSMatrix constructors 6 CSSMatrix constructors
7 PASS m is non-null. 7 PASS m is non-null.
8 PASS new WebKitCSSMatrix() is non-null. 8 PASS new WebKitCSSMatrix() is non-null.
9 PASS new WebKitCSSMatrix(m) is non-null. 9 PASS new WebKitCSSMatrix(m) is non-null.
10 PASS new WebKitCSSMatrix("matrix(1, 0, 0, 1, 0, 0)") is non-null. 10 PASS new WebKitCSSMatrix("matrix(1, 0, 0, 1, 0, 0)") is non-null.
11 PASS new WebKitCSSMatrix("") is non-null. 11 PASS new WebKitCSSMatrix("") is non-null.
12 PASS new WebKitCSSMatrix("none") is non-null. 12 PASS new WebKitCSSMatrix("none") is non-null.
13 PASS new WebKitCSSMatrix(" none ") is non-null. 13 PASS new WebKitCSSMatrix(" none ") is non-null.
14 14
15 Test toString 15 Test toString
16 PASS a[0] is "matrix" 16 PASS a[0] is "matrix"
17 PASS parseFloat(a2[0]) is 1 17 PASS parseFloat(a2[0]) is 1
18 PASS parseFloat(a2[1]) is 0 18 PASS parseFloat(a2[1]) is 0
19 PASS parseFloat(a2[2]) is 0 19 PASS parseFloat(a2[2]) is 0
20 PASS parseFloat(a2[3]) is 1 20 PASS parseFloat(a2[3]) is 1
21 PASS parseFloat(a2[4]) is 0 21 PASS parseFloat(a2[4]) is 0
22 PASS parseFloat(a3[0]) is 0 22 PASS parseFloat(a3[0]) is 0
23 PASS a3[1] is "" 23 PASS a3[1] is ""
24 24
25 Test bad input to string constructor 25 Test bad input to string constructor
26 PASS new WebKitCSSMatrix("banana") threw exception SyntaxError: Failed to constr uct 'DOMMatrix': Failed to parse 'banana'.. 26 PASS new WebKitCSSMatrix("banana") threw exception SyntaxError: Failed to constr uct 'WebKitCSSMatrix': Failed to parse 'banana'..
27 27
28 Test attributes on default matrix 28 Test attributes on default matrix
29 PASS m.a is 1 29 PASS m.a is 1
30 PASS m.b is 0 30 PASS m.b is 0
31 PASS m.c is 0 31 PASS m.c is 0
32 PASS m.d is 1 32 PASS m.d is 1
33 PASS m.e is 0 33 PASS m.e is 0
34 PASS m.f is 0 34 PASS m.f is 0
35 35
36 Test attributes on custom matrix 36 Test attributes on custom matrix
(...skipping 14 matching lines...) Expand all
51 51
52 Test setMatrixValue - set to translate(10px, 20px) scale(2, 3) 52 Test setMatrixValue - set to translate(10px, 20px) scale(2, 3)
53 PASS m.a is 2 53 PASS m.a is 2
54 PASS m.b is 0 54 PASS m.b is 0
55 PASS m.c is 0 55 PASS m.c is 0
56 PASS m.d is 3 56 PASS m.d is 3
57 PASS m.e is 10 57 PASS m.e is 10
58 PASS m.f is 20 58 PASS m.f is 20
59 59
60 Test throwing exception from setMatrixValue 60 Test throwing exception from setMatrixValue
61 PASS m.setMatrixValue("banana") threw exception SyntaxError: Failed to execute ' setMatrixValue' on 'DOMMatrix': Failed to parse 'banana'.. 61 PASS m.setMatrixValue("banana") threw exception SyntaxError: Failed to execute ' setMatrixValue' on 'WebKitCSSMatrix': Failed to parse 'banana'..
62 PASS m.setMatrixValue("translate(10em, 20%)") threw exception SyntaxError: Faile d to execute 'setMatrixValue' on 'DOMMatrix': Lengths must be absolute, not rela tive. 62 PASS m.setMatrixValue("translate(10em, 20%)") threw exception SyntaxError: Faile d to execute 'setMatrixValue' on 'WebKitCSSMatrix': The transformation depends o n the box size, which is not supported..
63 PASS m.setMatrixValue("translate(10px, 20px) scale()") threw exception SyntaxErr or: Failed to execute 'setMatrixValue' on 'DOMMatrix': Failed to parse 'translat e(10px, 20px) scale()'.. 63 PASS m.setMatrixValue("translate(10px, 20px) scale()") threw exception SyntaxErr or: Failed to execute 'setMatrixValue' on 'WebKitCSSMatrix': Failed to parse 'tr anslate(10px, 20px) scale()'..
64 64
65 Test attributes on translate() and accumulation 65 Test attributes on translate() and accumulation
66 PASS m2.a is 1 66 PASS m2.a is 1
67 PASS m2.b is 0 67 PASS m2.b is 0
68 PASS m2.c is 0 68 PASS m2.c is 0
69 PASS m2.d is 1 69 PASS m2.d is 1
70 PASS m2.e is 100 70 PASS m2.e is 100
71 PASS m2.f is 50 71 PASS m2.f is 50
72 72
73 Test immutability of translate 73 Test immutability of translate
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 PASS tx.e is 100 182 PASS tx.e is 100
183 PASS tx.f is 0 183 PASS tx.f is 0
184 PASS sx.a is 2 184 PASS sx.a is 2
185 PASS sx.b is 0 185 PASS sx.b is 0
186 PASS sx.c is 0 186 PASS sx.c is 0
187 PASS sx.d is 1 187 PASS sx.d is 1
188 PASS sx.e is 0 188 PASS sx.e is 0
189 PASS sx.f is 0 189 PASS sx.f is 0
190 190
191 Test multiply with missing argument 191 Test multiply with missing argument
192 PASS m2.a is 1 192 PASS m2 is null
193 PASS m2.b is 2
194 PASS m2.c is 3
195 PASS m2.d is 4
196 PASS m2.e is 5
197 PASS m2.f is 6
198 193
199 Test inverse 194 Test inverse
200 PASS parseFloat(m2.a) is 0.5 195 PASS parseFloat(m2.a) is 0.5
201 PASS parseFloat(m2.b) is 0 196 PASS parseFloat(m2.b) is 0
202 PASS parseFloat(m2.c) is 0 197 PASS parseFloat(m2.c) is 0
203 PASS parseFloat(m2.d) is 0.5 198 PASS parseFloat(m2.d) is 0.5
204 PASS parseFloat(m2.e) is -5 199 PASS parseFloat(m2.e) is -5
205 PASS parseFloat(m2.f) is -10 200 PASS parseFloat(m2.f) is -10
206 201
207 Test immutability of inverse 202 Test immutability of inverse
208 PASS parseFloat(m.a) is 2 203 PASS parseFloat(m.a) is 2
209 PASS parseFloat(m.b) is 0 204 PASS parseFloat(m.b) is 0
210 PASS parseFloat(m.c) is 0 205 PASS parseFloat(m.c) is 0
211 PASS parseFloat(m.d) is 2 206 PASS parseFloat(m.d) is 2
212 PASS parseFloat(m.e) is 10 207 PASS parseFloat(m.e) is 10
213 PASS parseFloat(m.f) is 20 208 PASS parseFloat(m.f) is 20
214 209
215 Test not invertible matrix 210 Test throwing exception from inverse
216 PASS m2.a is NaN 211 PASS m.inverse() threw exception NotSupportedError: Failed to execute 'inverse' on 'WebKitCSSMatrix': The matrix is not invertable..
217 PASS m2.b is NaN
218 PASS m2.c is NaN
219 PASS m2.d is NaN
220 PASS m2.e is NaN
221 PASS m2.f is NaN
222
223 Test immutability of inverse
224 PASS m.a is 0
225 PASS m.b is 0
226 PASS m.c is 0
227 PASS m.d is 0
228 PASS m.e is 0
229 PASS m.f is 0
230 212
231 PASS successfullyParsed is true 213 PASS successfullyParsed is true
232 214
233 TEST COMPLETE 215 TEST COMPLETE
234 216
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698