Title: [282089] trunk/LayoutTests/imported/w3c
Revision
282089
Author
[email protected]
Date
2021-09-07 09:26:29 -0700 (Tue, 07 Sep 2021)

Log Message

Update the css-transforms/parsing WPT
https://bugs.webkit.org/show_bug.cgi?id=229974

Reviewed by Youenn Fablet.

Update the transforms parsing tests to 8a2b0f1086adf122d91c36c222b26362ba4059f2.

An update of the entire css-transforms directory has too many failures to deal with.

* resources/import-expectations.json:
* web-platform-tests/css/css-transforms/parsing/scale-parsing-invalid-expected.txt:
* web-platform-tests/css/css-transforms/parsing/scale-parsing-invalid.html:
* web-platform-tests/css/css-transforms/parsing/scale-parsing-valid-expected.txt:
* web-platform-tests/css/css-transforms/parsing/scale-parsing-valid.html:
* web-platform-tests/css/css-transforms/parsing/transform-valid-expected.txt:
* web-platform-tests/css/css-transforms/parsing/transform-valid.html:
* web-platform-tests/css/css-transforms/parsing/translate-parsing-invalid-expected.txt:
* web-platform-tests/css/css-transforms/parsing/translate-parsing-invalid.html:
* web-platform-tests/css/css-transforms/parsing/w3c-import.log: Added.

Modified Paths

Added Paths

Diff

Modified: trunk/LayoutTests/imported/w3c/ChangeLog (282088 => 282089)


--- trunk/LayoutTests/imported/w3c/ChangeLog	2021-09-07 15:56:08 UTC (rev 282088)
+++ trunk/LayoutTests/imported/w3c/ChangeLog	2021-09-07 16:26:29 UTC (rev 282089)
@@ -1,3 +1,25 @@
+2021-09-07  Simon Fraser  <[email protected]>
+
+        Update the css-transforms/parsing WPT
+        https://bugs.webkit.org/show_bug.cgi?id=229974
+
+        Reviewed by Youenn Fablet.
+
+        Update the transforms parsing tests to 8a2b0f1086adf122d91c36c222b26362ba4059f2.
+
+        An update of the entire css-transforms directory has too many failures to deal with.
+
+        * resources/import-expectations.json:
+        * web-platform-tests/css/css-transforms/parsing/scale-parsing-invalid-expected.txt:
+        * web-platform-tests/css/css-transforms/parsing/scale-parsing-invalid.html:
+        * web-platform-tests/css/css-transforms/parsing/scale-parsing-valid-expected.txt:
+        * web-platform-tests/css/css-transforms/parsing/scale-parsing-valid.html:
+        * web-platform-tests/css/css-transforms/parsing/transform-valid-expected.txt:
+        * web-platform-tests/css/css-transforms/parsing/transform-valid.html:
+        * web-platform-tests/css/css-transforms/parsing/translate-parsing-invalid-expected.txt:
+        * web-platform-tests/css/css-transforms/parsing/translate-parsing-invalid.html:
+        * web-platform-tests/css/css-transforms/parsing/w3c-import.log: Added.
+
 2021-09-07  Sihui Liu  <[email protected]>
 
         Import storage tests from WPT

Modified: trunk/LayoutTests/imported/w3c/resources/import-expectations.json (282088 => 282089)


--- trunk/LayoutTests/imported/w3c/resources/import-expectations.json	2021-09-07 15:56:08 UTC (rev 282088)
+++ trunk/LayoutTests/imported/w3c/resources/import-expectations.json	2021-09-07 16:26:29 UTC (rev 282089)
@@ -18,6 +18,7 @@
     "css/css-sizing": "import", 
     "css/css-syntax": "import", 
     "css/css-text-decor": "import", 
+    "css/css-transforms/parsing": "import", 
     "css/css-values": "import", 
     "css/geometry": "import", 
     "css/selectors": "import", 

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/parsing/scale-parsing-invalid-expected.txt (282088 => 282089)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/parsing/scale-parsing-invalid-expected.txt	2021-09-07 15:56:08 UTC (rev 282088)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/parsing/scale-parsing-invalid-expected.txt	2021-09-07 16:26:29 UTC (rev 282089)
@@ -1,9 +1,4 @@
 
 PASS e.style['scale'] = "100px" should not set the property value
 PASS e.style['scale'] = "100 200 300 400" should not set the property value
-PASS e.style['scale'] = "1%" should not set the property value
-PASS e.style['scale'] = "1 1%" should not set the property value
-PASS e.style['scale'] = "1 junk" should not set the property value
-PASS e.style['scale'] = "1 2 junk" should not set the property value
-PASS e.style['scale'] = "1 2 3 junk" should not set the property value
 

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/parsing/scale-parsing-invalid.html (282088 => 282089)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/parsing/scale-parsing-invalid.html	2021-09-07 15:56:08 UTC (rev 282088)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/parsing/scale-parsing-invalid.html	2021-09-07 16:26:29 UTC (rev 282089)
@@ -14,13 +14,6 @@
 test_invalid_value("scale", "100px");
 
 test_invalid_value("scale", "100 200 300 400");
-
-test_invalid_value("scale", "1%");
-test_invalid_value("scale", "1 1%");
-
-test_invalid_value("scale", "1 junk");
-test_invalid_value("scale", "1 2 junk");
-test_invalid_value("scale", "1 2 3 junk");
 </script>
 </body>
 </html>

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/parsing/scale-parsing-valid-expected.txt (282088 => 282089)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/parsing/scale-parsing-valid-expected.txt	2021-09-07 15:56:08 UTC (rev 282088)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/parsing/scale-parsing-valid-expected.txt	2021-09-07 16:26:29 UTC (rev 282089)
@@ -1,14 +1,24 @@
 
 PASS e.style['scale'] = "none" should set the property value
 PASS e.style['scale'] = "1" should set the property value
+FAIL e.style['scale'] = "1%" should set the property value assert_not_equals: property should be set got disallowed value ""
 PASS e.style['scale'] = "100" should set the property value
+FAIL e.style['scale'] = "100%" should set the property value assert_not_equals: property should be set got disallowed value ""
 PASS e.style['scale'] = "100 100" should set the property value
+FAIL e.style['scale'] = "100% 100%" should set the property value assert_not_equals: property should be set got disallowed value ""
 PASS e.style['scale'] = "100 100 1" should set the property value
+FAIL e.style['scale'] = "100% 100% 1" should set the property value assert_not_equals: property should be set got disallowed value ""
 PASS e.style['scale'] = "-100" should set the property value
+FAIL e.style['scale'] = "-100%" should set the property value assert_not_equals: property should be set got disallowed value ""
 PASS e.style['scale'] = "-100 -100" should set the property value
+FAIL e.style['scale'] = "-100% -100%" should set the property value assert_not_equals: property should be set got disallowed value ""
 PASS e.style['scale'] = "-100 -100 1" should set the property value
+FAIL e.style['scale'] = "-100% -100% 1" should set the property value assert_not_equals: property should be set got disallowed value ""
 PASS e.style['scale'] = "100 200" should set the property value
+FAIL e.style['scale'] = "100% 200%" should set the property value assert_not_equals: property should be set got disallowed value ""
 PASS e.style['scale'] = "100 200 1" should set the property value
+FAIL e.style['scale'] = "100% 200% 1" should set the property value assert_not_equals: property should be set got disallowed value ""
 PASS e.style['scale'] = "100 200 300" should set the property value
 PASS e.style['scale'] = "100 100 2" should set the property value
+FAIL e.style['scale'] = "100% 200% 300%" should set the property value assert_not_equals: property should be set got disallowed value ""
 

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/parsing/scale-parsing-valid.html (282088 => 282089)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/parsing/scale-parsing-valid.html	2021-09-07 15:56:08 UTC (rev 282088)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/parsing/scale-parsing-valid.html	2021-09-07 16:26:29 UTC (rev 282089)
@@ -14,19 +14,29 @@
 test_valid_value("scale", "none");
 
 test_valid_value("scale", "1");
+test_valid_value("scale", "1%", "0.01");
 
 test_valid_value("scale", "100");
+test_valid_value("scale", "100%", "1");
 test_valid_value("scale", "100 100", "100");
+test_valid_value("scale", "100% 100%", "1");
 test_valid_value("scale", "100 100 1", "100");
+test_valid_value("scale", "100% 100% 1", "1");
 
 test_valid_value("scale", "-100");
+test_valid_value("scale", "-100%", "-1");
 test_valid_value("scale", "-100 -100", "-100");
+test_valid_value("scale", "-100% -100%", "-1");
 test_valid_value("scale", "-100 -100 1", "-100");
+test_valid_value("scale", "-100% -100% 1", "-1");
 
 test_valid_value("scale", "100 200");
+test_valid_value("scale", "100% 200%", "1 2");
 test_valid_value("scale", "100 200 1", "100 200");
+test_valid_value("scale", "100% 200% 1", "1 2");
 test_valid_value("scale", "100 200 300");
 test_valid_value("scale", "100 100 2", "100 100 2");
+test_valid_value("scale", "100% 200% 300%", "1 2 3");
 </script>
 </body>
 </html>

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/parsing/transform-valid-expected.txt (282088 => 282089)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/parsing/transform-valid-expected.txt	2021-09-07 15:56:08 UTC (rev 282088)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/parsing/transform-valid-expected.txt	2021-09-07 16:26:29 UTC (rev 282089)
@@ -13,6 +13,7 @@
 PASS e.style['transform'] = "scale(-5, -6)" should set the property value
 FAIL e.style['transform'] = "scale(250%)" should set the property value assert_not_equals: property should be set got disallowed value ""
 FAIL e.style['transform'] = "scale(325%, 475%)" should set the property value assert_not_equals: property should be set got disallowed value ""
+FAIL e.style['transform'] = "scale(1, 200%)" should set the property value assert_not_equals: property should be set got disallowed value ""
 FAIL e.style['transform'] = "scale(-250%)" should set the property value assert_not_equals: property should be set got disallowed value ""
 FAIL e.style['transform'] = "scale(-500%, -620%)" should set the property value assert_not_equals: property should be set got disallowed value ""
 PASS e.style['transform'] = "scaleX(7)" should set the property value
@@ -19,10 +20,13 @@
 FAIL e.style['transform'] = "scaleX(720%)" should set the property value assert_not_equals: property should be set got disallowed value ""
 PASS e.style['transform'] = "scaleY(-8)" should set the property value
 FAIL e.style['transform'] = "scaleY(-85%)" should set the property value assert_not_equals: property should be set got disallowed value ""
+PASS e.style['transform'] = "scaleZ(4)" should set the property value
+FAIL e.style['transform'] = "scaleZ(25%)" should set the property value assert_not_equals: property should be set got disallowed value ""
 PASS e.style['transform'] = "scale3d(0.5, 2.5, 3)" should set the property value
 FAIL e.style['transform'] = "scale3d(50%, 250%, 300%)" should set the property value assert_not_equals: property should be set got disallowed value ""
 PASS e.style['transform'] = "scale3d(-0.5, 2.5, -3)" should set the property value
 FAIL e.style['transform'] = "scale3d(-50%, 250%, -300%)" should set the property value assert_not_equals: property should be set got disallowed value ""
+FAIL e.style['transform'] = "scale3d(1, 200%, 3)" should set the property value assert_not_equals: property should be set got disallowed value ""
 PASS e.style['transform'] = "rotate(0)" should set the property value
 PASS e.style['transform'] = "rotate(90deg)" should set the property value
 PASS e.style['transform'] = "skew(0)" should set the property value
@@ -33,5 +37,7 @@
 PASS e.style['transform'] = "skewX(90deg)" should set the property value
 PASS e.style['transform'] = "skewY(0)" should set the property value
 PASS e.style['transform'] = "skewY(-90deg)" should set the property value
+PASS e.style['transform'] = "perspective(10px)" should set the property value
+FAIL e.style['transform'] = "perspective(none)" should set the property value assert_not_equals: property should be set got disallowed value ""
 PASS e.style['transform'] = "translate(1px, 2%) scale(3, 4) rotate(-90deg)" should set the property value
 

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/parsing/transform-valid.html (282088 => 282089)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/parsing/transform-valid.html	2021-09-07 15:56:08 UTC (rev 282088)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/parsing/transform-valid.html	2021-09-07 16:26:29 UTC (rev 282089)
@@ -32,6 +32,7 @@
 
 test_valid_value("transform", "scale(250%)", "scale(2.5)");
 test_valid_value("transform", "scale(325%, 475%)", "scale(3.25, 4.75)");
+test_valid_value("transform", "scale(1, 200%)", "scale(1, 2)");
 
 test_valid_value("transform", "scale(-250%)", "scale(-2.5)");
 test_valid_value("transform", "scale(-500%, -620%)", "scale(-5, -6.2)");
@@ -42,11 +43,15 @@
 test_valid_value("transform", "scaleY(-8)");
 test_valid_value("transform", "scaleY(-85%)", "scaleY(-0.85)");
 
+test_valid_value("transform", "scaleZ(4)");
+test_valid_value("transform", "scaleZ(25%)", "scaleZ(0.25)");
+
 test_valid_value("transform", "scale3d(0.5, 2.5, 3)");
 test_valid_value("transform", "scale3d(50%, 250%, 300%)", "scale3d(0.5, 2.5, 3)");
 
 test_valid_value("transform", "scale3d(-0.5, 2.5, -3)");
 test_valid_value("transform", "scale3d(-50%, 250%, -300%)", "scale3d(-0.5, 2.5, -3)");
+test_valid_value("transform", "scale3d(1, 200%, 3)", "scale3d(1, 2, 3)");
 
 test_valid_value("transform", "rotate(0)", "rotate(0deg)");
 test_valid_value("transform", "rotate(90deg)");
@@ -62,6 +67,9 @@
 test_valid_value("transform", "skewY(0)", "skewY(0deg)");
 test_valid_value("transform", "skewY(-90deg)");
 
+test_valid_value("transform", "perspective(10px)");
+test_valid_value("transform", "perspective(none)");
+
 test_valid_value("transform", "translate(1px, 2%) scale(3, 4) rotate(-90deg)");
 </script>
 </body>

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/parsing/translate-parsing-invalid-expected.txt (282088 => 282089)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/parsing/translate-parsing-invalid-expected.txt	2021-09-07 15:56:08 UTC (rev 282088)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/parsing/translate-parsing-invalid-expected.txt	2021-09-07 16:26:29 UTC (rev 282089)
@@ -2,7 +2,4 @@
 PASS e.style['translate'] = "100deg" should not set the property value
 PASS e.style['translate'] = "100px 200px 300%" should not set the property value
 PASS e.style['translate'] = "100px 200px calc(30px + 30%)" should not set the property value
-PASS e.style['translate'] = "100px junk" should not set the property value
-PASS e.style['translate'] = "100px 200px junk" should not set the property value
-PASS e.style['translate'] = "100px 200px 300px junk" should not set the property value
 

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/parsing/translate-parsing-invalid.html (282088 => 282089)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/parsing/translate-parsing-invalid.html	2021-09-07 15:56:08 UTC (rev 282088)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/parsing/translate-parsing-invalid.html	2021-09-07 16:26:29 UTC (rev 282089)
@@ -15,10 +15,6 @@
 
 test_invalid_value("translate", "100px 200px 300%");
 test_invalid_value("translate", "100px 200px calc(30px + 30%)");
-
-test_invalid_value("translate", "100px junk");
-test_invalid_value("translate", "100px 200px junk");
-test_invalid_value("translate", "100px 200px 300px junk");
 </script>
 </body>
 </html>

Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/parsing/w3c-import.log (0 => 282089)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/parsing/w3c-import.log	                        (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/parsing/w3c-import.log	2021-09-07 16:26:29 UTC (rev 282089)
@@ -0,0 +1,36 @@
+The tests in this directory were imported from the W3C repository.
+Do NOT modify these tests directly in WebKit.
+Instead, create a pull request on the WPT github:
+	https://github.com/web-platform-tests/wpt
+
+Then run the Tools/Scripts/import-w3c-tests in WebKit to reimport
+
+Do NOT modify or remove this file.
+
+------------------------------------------------------------------------
+Properties requiring vendor prefixes:
+None
+Property values requiring vendor prefixes:
+None
+------------------------------------------------------------------------
+List of files:
+/LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/parsing/backface-visibility-computed.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/parsing/backface-visibility-invalid.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/parsing/backface-visibility-valid.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/parsing/perspective-origin-computed.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/parsing/perspective-origin-invalid.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/parsing/perspective-origin-valid.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/parsing/rotate-parsing-invalid.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/parsing/rotate-parsing-valid.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/parsing/scale-parsing-invalid.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/parsing/scale-parsing-valid.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/parsing/transform-box-computed.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/parsing/transform-box-invalid.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/parsing/transform-box-valid.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/parsing/transform-invalid.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/parsing/transform-origin-computed.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/parsing/transform-origin-invalid.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/parsing/transform-origin-valid.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/parsing/transform-valid.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/parsing/translate-parsing-invalid.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/parsing/translate-parsing-valid.html
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to