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

Unified Diff: third_party/WebKit/LayoutTests/typedcssom/cssRotation-expected.txt

Issue 2938353002: [CSS Typed OM] Add missing error handling for CSSRotation constructor (Closed)
Patch Set: rebase 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/typedcssom/cssRotation-expected.txt
diff --git a/third_party/WebKit/LayoutTests/typedcssom/cssRotation-expected.txt b/third_party/WebKit/LayoutTests/typedcssom/cssRotation-expected.txt
index a4cc31b54cc977cbda9060045d51d2c4667378c1..7dccc224a8387ca2102b6e0cddb6b72d403cd73d 100644
--- a/third_party/WebKit/LayoutTests/typedcssom/cssRotation-expected.txt
+++ b/third_party/WebKit/LayoutTests/typedcssom/cssRotation-expected.txt
@@ -1,4 +1,5 @@
This is a testharness.js-based test.
+PASS Invalid arguments to constructor should throw
PASS x, y, z and angle values are correct for rotate(0deg)
PASS x, y, z and angle values are correct for rotate(10deg)
PASS x, y, z and angle values are correct for rotate(-21deg)
@@ -8,10 +9,10 @@ PASS x, y, z and angle values are correct for rotate3d(2.7, -3, 4.4, 0deg)
PASS x, y, z and angle values are correct for rotate3d(2, 3, 4, 10deg)
PASS x, y, z and angle values are correct for rotate3d(2, 3.7, -4, -1.2deg)
PASS x, y, z and angle values are correct for rotate3d(1, 0, 0, 0.5turn)
-PASS is2D value is correct for rotate(0deg)
-PASS is2D value is correct for rotate(10deg)
-PASS is2D value is correct for rotate(-21deg)
-PASS is2D value is correct for rotate(3.2deg)
+FAIL is2D value is correct for rotate(0deg) assert_equals: expected true but got false
+FAIL is2D value is correct for rotate(10deg) assert_equals: expected true but got false
+FAIL is2D value is correct for rotate(-21deg) assert_equals: expected true but got false
+FAIL is2D value is correct for rotate(3.2deg) assert_equals: expected true but got false
PASS is2D value is correct for rotate3d(0, 0, 1, 90deg)
PASS is2D value is correct for rotate3d(2.7, -3, 4.4, 0deg)
PASS is2D value is correct for rotate3d(2, 3, 4, 10deg)
@@ -26,10 +27,10 @@ FAIL toString value is correct for rotate3d(2.7, -3, 4.4, 0deg) assert_equals: e
FAIL toString value is correct for rotate3d(2, 3, 4, 10deg) assert_equals: expected "rotate3d(2, 3, 4, 10deg)" but got ""
FAIL toString value is correct for rotate3d(2, 3.7, -4, -1.2deg) assert_equals: expected "rotate3d(2, 3.7, -4, -1.2deg)" but got ""
FAIL toString value is correct for rotate3d(1, 0, 0, 0.5turn) assert_equals: expected "rotate3d(1, 0, 0, 0.5turn)" but got ""
-PASS toMatrix works for rotate(0deg)
-FAIL toMatrix works for rotate(10deg) assert_approx_equals: expected 0.9848077 +/- 0.000001 but got 1
-FAIL toMatrix works for rotate(-21deg) assert_approx_equals: expected 0.9335804 +/- 0.000001 but got 1
-FAIL toMatrix works for rotate(3.2deg) assert_approx_equals: expected 0.9984407 +/- 0.000001 but got 1
+FAIL toMatrix works for rotate(0deg) assert_equals: is2D expected false but got true
+FAIL toMatrix works for rotate(10deg) assert_equals: is2D expected false but got true
+FAIL toMatrix works for rotate(-21deg) assert_equals: is2D expected false but got true
+FAIL toMatrix works for rotate(3.2deg) assert_equals: is2D expected false but got true
FAIL toMatrix works for rotate3d(0, 0, 1, 90deg) assert_equals: is2D expected false but got true
FAIL toMatrix works for rotate3d(2.7, -3, 4.4, 0deg) assert_equals: is2D expected false but got true
FAIL toMatrix works for rotate3d(2, 3, 4, 10deg) assert_equals: is2D expected false but got true

Powered by Google App Engine
This is Rietveld 408576698