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

Unified Diff: third_party/WebKit/LayoutTests/transforms/transform-parsing-expected.txt

Issue 1811953002: Make parsing of <transform> more strict (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: V2 Created 4 years, 9 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/transforms/transform-parsing-expected.txt
diff --git a/third_party/WebKit/LayoutTests/transforms/transform-parsing-expected.txt b/third_party/WebKit/LayoutTests/transforms/transform-parsing-expected.txt
index e130910f4b8a969b17cdc490a6d7660934007204..a24bc6acf87a658624fd108b8c1b965a09748f52 100644
--- a/third_party/WebKit/LayoutTests/transforms/transform-parsing-expected.txt
+++ b/third_party/WebKit/LayoutTests/transforms/transform-parsing-expected.txt
@@ -21,6 +21,7 @@ PASS "transform: translate(20%, 10%);" should be computed to "matrix(1, 0, 0, 1,
PASS "transform: translate();" should be invalid
PASS "transform: translate(1);" should be invalid
PASS "transform: translate(1, 2);" should be invalid
+PASS "transform: translate(1px,);" should be invalid
PASS "transform: translate(1px, 2px, 3px);" should be invalid
PASS "transform: translateX(0);" should parse as "translateX(0px)"
PASS "transform: translateX(2px);" should parse as "translateX(2px)"
@@ -40,6 +41,7 @@ PASS "transform: scale(1);" should parse as "scale(1)"
PASS "transform: scale(2, 3);" should parse as "scale(2, 3)"
PASS "transform: scale(2, 3);" should be computed to "matrix(2, 0, 0, 3, 0, 0)"
PASS "transform: scale();" should be invalid
+PASS "transform: scale(1,);" should be invalid
PASS "transform: scale(1, 2, 3);" should be invalid
PASS "transform: scale(1px, 2px);" should be invalid
PASS "transform: scale(20%, 50%);" should be invalid
@@ -72,6 +74,7 @@ PASS "transform: skew(0, 0);" should parse as "skew(0deg, 0deg)"
PASS "transform: skew(1);" should be invalid
PASS "transform: skew(2%);" should be invalid
PASS "transform: skew();" should be invalid
+PASS "transform: skew(45deg,);" should be invalid
PASS "transform: skew(1deg, 2deg, 3deg);" should be invalid
PASS "transform: skewX(0);" should parse as "skewX(0deg)"
PASS "transform: skewX(45deg);" should parse as "skewX(45deg)"
@@ -125,6 +128,7 @@ PASS "transform: rotate3d(1, 2, 3, 4deg);" should parse as "rotate3d(1, 2, 3, 4d
PASS "transform: rotate3d();" should be invalid
PASS "transform: rotate3d(1, 2, 3);" should be invalid
PASS "transform: rotate3d(1, 2, 3, 4deg, 0);" should be invalid
+PASS "transform: rotate3d(1, 2, 3, );" should be invalid
PASS "transform: rotateX(0);" should parse as "rotateX(0deg)"
PASS "transform: rotateX(1deg);" should parse as "rotateX(1deg)"
PASS "transform: rotateX();" should be invalid

Powered by Google App Engine
This is Rietveld 408576698