Title: [165449] trunk/LayoutTests
Revision
165449
Author
[email protected]
Date
2014-03-11 06:29:03 -0700 (Tue, 11 Mar 2014)

Log Message

[CSS Grid Layout] Add layout test for anonymous grid items
https://bugs.webkit.org/show_bug.cgi?id=130083

Reviewed by Sergio Villar Senin.

Add a layout test to prevent regressions supporting anonymous grid items.

For example, anonymous grid items do not have an associated Node, so trying to access it will make this test
crash.

* fast/css-grid-layout/anonymous-grid-items-expected.html: Added.
* fast/css-grid-layout/anonymous-grid-items.html: Added.

Modified Paths

Added Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (165448 => 165449)


--- trunk/LayoutTests/ChangeLog	2014-03-11 11:27:54 UTC (rev 165448)
+++ trunk/LayoutTests/ChangeLog	2014-03-11 13:29:03 UTC (rev 165449)
@@ -1,3 +1,18 @@
+2014-03-11  Manuel Rego Casasnovas  <[email protected]>
+
+        [CSS Grid Layout] Add layout test for anonymous grid items
+        https://bugs.webkit.org/show_bug.cgi?id=130083
+
+        Reviewed by Sergio Villar Senin.
+
+        Add a layout test to prevent regressions supporting anonymous grid items.
+
+        For example, anonymous grid items do not have an associated Node, so trying to access it will make this test
+        crash.
+
+        * fast/css-grid-layout/anonymous-grid-items-expected.html: Added.
+        * fast/css-grid-layout/anonymous-grid-items.html: Added.
+
 2014-03-11  Krzysztof Czech  <[email protected]>
 
         [ATK] Expose aria-posinset and aria-setsize through object attributes

Added: trunk/LayoutTests/fast/css-grid-layout/anonymous-grid-items-expected.html (0 => 165449)


--- trunk/LayoutTests/fast/css-grid-layout/anonymous-grid-items-expected.html	                        (rev 0)
+++ trunk/LayoutTests/fast/css-grid-layout/anonymous-grid-items-expected.html	2014-03-11 13:29:03 UTC (rev 165449)
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+<script>
+if (window.testRunner)
+    testRunner.overridePreference("WebKitCSSGridLayoutEnabled", 1);
+</script>
+<body>
+    <div>Checks that anonymous grid items are supported. This should not crash.</div>
+    <div style="display: -webkit-grid;">
+        <div>anonymous item</div>
+    </div>
+</body>
+</html>

Added: trunk/LayoutTests/fast/css-grid-layout/anonymous-grid-items.html (0 => 165449)


--- trunk/LayoutTests/fast/css-grid-layout/anonymous-grid-items.html	                        (rev 0)
+++ trunk/LayoutTests/fast/css-grid-layout/anonymous-grid-items.html	2014-03-11 13:29:03 UTC (rev 165449)
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+<script>
+if (window.testRunner)
+    testRunner.overridePreference("WebKitCSSGridLayoutEnabled", 1);
+</script>
+<body>
+    <div>Checks that anonymous grid items are supported. This should not crash.</div>
+    <div style="display: -webkit-grid;">
+        anonymous item
+    </div>
+</body>
+</html>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to