Title: [136440] trunk/LayoutTests
Revision
136440
Author
x...@webkit.org
Date
2012-12-03 14:48:39 -0800 (Mon, 03 Dec 2012)

Log Message

2012-12-03  Xan Lopez  <xlo...@igalia.com>

        Unreviewed gardening.

        Update grid layout tests with proper expected results for cosmetic
        debug() changes I did in the previous patch.

        * fast/css-grid-layout/grid-columns-rows-get-set-expected.txt:
        * fast/css-grid-layout/resources/grid-columns-rows-get-set.js:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (136439 => 136440)


--- trunk/LayoutTests/ChangeLog	2012-12-03 22:20:47 UTC (rev 136439)
+++ trunk/LayoutTests/ChangeLog	2012-12-03 22:48:39 UTC (rev 136440)
@@ -1,3 +1,13 @@
+2012-12-03  Xan Lopez  <xlo...@igalia.com>
+
+        Unreviewed gardening.
+
+        Update grid layout tests with proper expected results for cosmetic
+        debug() changes I did in the previous patch.
+
+        * fast/css-grid-layout/grid-columns-rows-get-set-expected.txt:
+        * fast/css-grid-layout/resources/grid-columns-rows-get-set.js:
+
 2012-12-03  Stephen White  <senorbla...@chromium.org>
 
         [Chromium] Unreviewed gardening.

Modified: trunk/LayoutTests/fast/css-grid-layout/grid-columns-rows-get-set-expected.txt (136439 => 136440)


--- trunk/LayoutTests/fast/css-grid-layout/grid-columns-rows-get-set-expected.txt	2012-12-03 22:20:47 UTC (rev 136439)
+++ trunk/LayoutTests/fast/css-grid-layout/grid-columns-rows-get-set-expected.txt	2012-12-03 22:48:39 UTC (rev 136440)
@@ -3,7 +3,7 @@
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 
 
-Test getting |display| set through CSS
+Test getting -webkit-grid-columns and -webkit-grid-rows set through CSS
 PASS getComputedStyle(gridWithNoneElement, '').getPropertyValue('-webkit-grid-columns') is 'none'
 PASS getComputedStyle(gridWithNoneElement, '').getPropertyValue('-webkit-grid-rows') is 'none'
 PASS getComputedStyle(gridWithFixedElement, '').getPropertyValue('-webkit-grid-columns') is '10px'
@@ -16,6 +16,7 @@
 PASS getComputedStyle(gridWithEMElement, '').getPropertyValue('-webkit-grid-rows') is '150px'
 PASS getComputedStyle(gridWithViewPortPercentageElement, '').getPropertyValue('-webkit-grid-columns') is '64px'
 PASS getComputedStyle(gridWithViewPortPercentageElement, '').getPropertyValue('-webkit-grid-rows') is '60px'
+Test getting wrong values for -webkit-grid-columns and -webkit-grid-rows through CSS (they should resolve to the default: 'none')
 PASS getComputedStyle(gridWithFitContentElement, '').getPropertyValue('-webkit-grid-columns') is 'none'
 PASS getComputedStyle(gridWithFitContentElement, '').getPropertyValue('-webkit-grid-rows') is 'none'
 PASS getComputedStyle(gridWithFitAvailableElement, '').getPropertyValue('-webkit-grid-columns') is 'none'
@@ -25,7 +26,7 @@
 PASS getComputedStyle(element, '').getPropertyValue('-webkit-grid-columns') is 'none'
 PASS getComputedStyle(element, '').getPropertyValue('-webkit-grid-rows') is 'none'
 
-Test getting and setting display through JS
+Test getting and setting -webkit-grid-columns and -webkit-grid-rows through JS
 PASS getComputedStyle(element, '').getPropertyValue('-webkit-grid-columns') is '18px'
 PASS getComputedStyle(element, '').getPropertyValue('-webkit-grid-rows') is '66px'
 PASS getComputedStyle(element, '').getPropertyValue('-webkit-grid-columns') is '55%'

Modified: trunk/LayoutTests/fast/css-grid-layout/resources/grid-columns-rows-get-set.js (136439 => 136440)


--- trunk/LayoutTests/fast/css-grid-layout/resources/grid-columns-rows-get-set.js	2012-12-03 22:20:47 UTC (rev 136439)
+++ trunk/LayoutTests/fast/css-grid-layout/resources/grid-columns-rows-get-set.js	2012-12-03 22:48:39 UTC (rev 136440)
@@ -25,7 +25,7 @@
 shouldBe("getComputedStyle(gridWithViewPortPercentageElement, '').getPropertyValue('-webkit-grid-columns')", "'64px'");
 shouldBe("getComputedStyle(gridWithViewPortPercentageElement, '').getPropertyValue('-webkit-grid-rows')", "'60px'");
 
-debug("Test getting wrong values for -webkit-grid-columns and -webkit-grid-rows through CSS (they should resolve to the default: 'none'.");
+debug("Test getting wrong values for -webkit-grid-columns and -webkit-grid-rows through CSS (they should resolve to the default: 'none')");
 var gridWithFitContentElement = document.getElementById("gridWithFitContentElement");
 shouldBe("getComputedStyle(gridWithFitContentElement, '').getPropertyValue('-webkit-grid-columns')", "'none'");
 shouldBe("getComputedStyle(gridWithFitContentElement, '').getPropertyValue('-webkit-grid-rows')", "'none'");
@@ -42,7 +42,7 @@
 shouldBe("getComputedStyle(element, '').getPropertyValue('-webkit-grid-rows')", "'none'");
 
 debug("");
-debug("Test getting and setting display through JS");
+debug("Test getting and setting -webkit-grid-columns and -webkit-grid-rows through JS");
 element.style.webkitGridColumns = "18px";
 element.style.webkitGridRows = "66px";
 shouldBe("getComputedStyle(element, '').getPropertyValue('-webkit-grid-columns')", "'18px'");
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to