Title: [160185] trunk/LayoutTests
Revision
160185
Author
[email protected]
Date
2013-12-05 12:27:59 -0800 (Thu, 05 Dec 2013)

Log Message

[CSS Shapes] Update negative-arguments inset parsing test to test for the argument not for the commas
https://bugs.webkit.org/show_bug.cgi?id=125310

Reviewed by Rob Buis.

Fix typo in the negative-arguments inset tests, remove commas.

* fast/shapes/parsing/parsing-shape-lengths-expected.txt:
* fast/shapes/parsing/parsing-shape-lengths.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (160184 => 160185)


--- trunk/LayoutTests/ChangeLog	2013-12-05 20:14:48 UTC (rev 160184)
+++ trunk/LayoutTests/ChangeLog	2013-12-05 20:27:59 UTC (rev 160185)
@@ -1,3 +1,15 @@
+2013-12-05  Zoltan Horvath  <[email protected]>
+
+        [CSS Shapes] Update negative-arguments inset parsing test to test for the argument not for the commas
+        https://bugs.webkit.org/show_bug.cgi?id=125310
+
+        Reviewed by Rob Buis.
+
+        Fix typo in the negative-arguments inset tests, remove commas.
+
+        * fast/shapes/parsing/parsing-shape-lengths-expected.txt:
+        * fast/shapes/parsing/parsing-shape-lengths.html:
+
 2013-12-04  Ryosuke Niwa  <[email protected]>
 
         Change how the form element pointer affects parsing template elements, to reduce weirdness in templates

Modified: trunk/LayoutTests/fast/shapes/parsing/parsing-shape-lengths-expected.txt (160184 => 160185)


--- trunk/LayoutTests/fast/shapes/parsing/parsing-shape-lengths-expected.txt	2013-12-05 20:14:48 UTC (rev 160184)
+++ trunk/LayoutTests/fast/shapes/parsing/parsing-shape-lengths-expected.txt	2013-12-05 20:27:59 UTC (rev 160185)
@@ -71,14 +71,14 @@
 PASS getComputedStyleValue("-webkit-shape-inside", "inset-rectangle(1cm, 1mm, -1in, 1px, 1pt, 1pc)") is "auto"
 PASS getStyleValue("-webkit-shape-inside", "inset-rectangle(1cm, 1mm, 1in, -1px, 1pt, 1pc)") is null
 PASS getComputedStyleValue("-webkit-shape-inside", "inset-rectangle(1cm, 1mm, 1in, -1px, 1pt, 1pc)") is "auto"
-PASS getStyleValue("-webkit-shape-inside", "inset(-1cm, 1mm, 1in, 1px, 1pt, 1pc)") is null
-PASS getComputedStyleValue("-webkit-shape-inside", "inset(-1cm, 1mm, 1in, 1px, 1pt, 1pc)") is "auto"
-PASS getStyleValue("-webkit-shape-inside", "inset(1cm, -1mm, 1in, 1px, 1pt, 1pc)") is null
-PASS getComputedStyleValue("-webkit-shape-inside", "inset(1cm, -1mm, 1in, 1px, 1pt, 1pc)") is "auto"
-PASS getStyleValue("-webkit-shape-inside", "inset(1cm, 1mm, -1in, 1px, 1pt, 1pc)") is null
-PASS getComputedStyleValue("-webkit-shape-inside", "inset(1cm, 1mm, -1in, 1px, 1pt, 1pc)") is "auto"
-PASS getStyleValue("-webkit-shape-inside", "inset(1cm, 1mm, 1in, -1px, 1pt, 1pc)") is null
-PASS getComputedStyleValue("-webkit-shape-inside", "inset(1cm, 1mm, 1in, -1px, 1pt, 1pc)") is "auto"
+PASS getStyleValue("-webkit-shape-inside", "inset(-1cm 1mm 1in 1px)") is null
+PASS getComputedStyleValue("-webkit-shape-inside", "inset(-1cm 1mm 1in 1px)") is "auto"
+PASS getStyleValue("-webkit-shape-inside", "inset(1cm -1mm 1in 1px)") is null
+PASS getComputedStyleValue("-webkit-shape-inside", "inset(1cm -1mm 1in 1px)") is "auto"
+PASS getStyleValue("-webkit-shape-inside", "inset(1cm 1mm -1in 1px)") is null
+PASS getComputedStyleValue("-webkit-shape-inside", "inset(1cm 1mm -1in 1px)") is "auto"
+PASS getStyleValue("-webkit-shape-inside", "inset(1cm 1mm 1in -1px)") is null
+PASS getComputedStyleValue("-webkit-shape-inside", "inset(1cm 1mm 1in -1px)") is "auto"
 PASS successfullyParsed is true
 
 TEST COMPLETE

Modified: trunk/LayoutTests/fast/shapes/parsing/parsing-shape-lengths.html (160184 => 160185)


--- trunk/LayoutTests/fast/shapes/parsing/parsing-shape-lengths.html	2013-12-05 20:14:48 UTC (rev 160184)
+++ trunk/LayoutTests/fast/shapes/parsing/parsing-shape-lengths.html	2013-12-05 20:27:59 UTC (rev 160185)
@@ -108,10 +108,10 @@
 testInvalidValue("-webkit-shape-inside", "inset-rectangle(1cm, 1mm, 1in, -1px, 1pt, 1pc)");
 
 // reject negative top, right, bottom, and left
-testInvalidValue("-webkit-shape-inside", "inset(-1cm, 1mm, 1in, 1px, 1pt, 1pc)");
-testInvalidValue("-webkit-shape-inside", "inset(1cm, -1mm, 1in, 1px, 1pt, 1pc)");
-testInvalidValue("-webkit-shape-inside", "inset(1cm, 1mm, -1in, 1px, 1pt, 1pc)");
-testInvalidValue("-webkit-shape-inside", "inset(1cm, 1mm, 1in, -1px, 1pt, 1pc)");
+testInvalidValue("-webkit-shape-inside", "inset(-1cm 1mm 1in 1px)");
+testInvalidValue("-webkit-shape-inside", "inset(1cm -1mm 1in 1px)");
+testInvalidValue("-webkit-shape-inside", "inset(1cm 1mm -1in 1px)");
+testInvalidValue("-webkit-shape-inside", "inset(1cm 1mm 1in -1px)");
 
 </script>
 <script src=""
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to