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

Unified Diff: LayoutTests/fast/css-grid-layout/named-grid-line-get-set-expected.txt

Issue 1168453002: [CSSGridLayout] Switch from parentheses to brackets for grid line names (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch for landing v2 Created 5 years, 6 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: LayoutTests/fast/css-grid-layout/named-grid-line-get-set-expected.txt
diff --git a/LayoutTests/fast/css-grid-layout/named-grid-line-get-set-expected.txt b/LayoutTests/fast/css-grid-layout/named-grid-line-get-set-expected.txt
index e73d036bd97f8c1d268ecc0caca6efb092cb56e4..9fc91ac12c7cb6f3ecaf9fcdeba2adec1729fcdf 100644
--- a/LayoutTests/fast/css-grid-layout/named-grid-line-get-set-expected.txt
+++ b/LayoutTests/fast/css-grid-layout/named-grid-line-get-set-expected.txt
@@ -4,94 +4,96 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
Test getting grid-template-columns and grid-template-rows set through CSS
-PASS window.getComputedStyle(gridWithFixedElement, '').getPropertyValue('grid-template-columns') is "(first) 10px"
-PASS window.getComputedStyle(gridWithFixedElement, '').getPropertyValue('grid-template-rows') is "(first) 15px"
-PASS window.getComputedStyle(gridWithPercentElement, '').getPropertyValue('grid-template-columns') is "424px (last)"
-PASS window.getComputedStyle(gridWithPercentElement, '').getPropertyValue('grid-template-rows') is "162px (last)"
-PASS window.getComputedStyle(gridWithPercentWithoutSize, '').getPropertyValue('grid-template-columns') is "0px (last)"
-PASS window.getComputedStyle(gridWithPercentWithoutSize, '').getPropertyValue('grid-template-rows') is "0px (last)"
-PASS window.getComputedStyle(gridWithPercentWithoutSizeWithChildren, '').getPropertyValue('grid-template-columns') is "77px (last)"
-PASS window.getComputedStyle(gridWithPercentWithoutSizeWithChildren, '').getPropertyValue('grid-template-rows') is "22px (last)"
-PASS window.getComputedStyle(gridWithAutoElement, '').getPropertyValue('grid-template-columns') is "(first) 0px"
-PASS window.getComputedStyle(gridWithAutoElement, '').getPropertyValue('grid-template-rows') is "0px (last)"
-PASS window.getComputedStyle(gridWithAutoWithChildrenElement, '').getPropertyValue('grid-template-columns') is "(first) 77px"
-PASS window.getComputedStyle(gridWithAutoWithChildrenElement, '').getPropertyValue('grid-template-rows') is "22px (last)"
-PASS window.getComputedStyle(gridWithMinMax, '').getPropertyValue('grid-template-columns') is "(first) 80px"
-PASS window.getComputedStyle(gridWithMinMax, '').getPropertyValue('grid-template-rows') is "300px (last)"
-PASS window.getComputedStyle(gridWithFixedMultiple, '').getPropertyValue('grid-template-columns') is "(first nav) 10px (last)"
-PASS window.getComputedStyle(gridWithFixedMultiple, '').getPropertyValue('grid-template-rows') is "(first nav) 15px (last)"
-PASS window.getComputedStyle(gridWithPercentageSameStringMultipleTimes, '').getPropertyValue('grid-template-columns') is "(first nav) 80px (nav) 120px (last)"
-PASS window.getComputedStyle(gridWithPercentageSameStringMultipleTimes, '').getPropertyValue('grid-template-rows') is "(first nav2) 150px (nav2) 450px (last)"
-PASS window.getComputedStyle(gridWithRepeatElement, '').getPropertyValue('grid-template-columns') is "(first) 10px (nav nav2) 400px (nav nav2) 400px"
-PASS window.getComputedStyle(gridWithRepeatElement, '').getPropertyValue('grid-template-rows') is "100px (nav nav2) 150px (nav nav2) 150px (last)"
-PASS window.getComputedStyle(gridWithEmptyParentheses, '').getPropertyValue('grid-template-columns') is "10px"
-PASS window.getComputedStyle(gridWithEmptyParentheses, '').getPropertyValue('grid-template-rows') is "20px 50px"
+PASS window.getComputedStyle(gridWithFixedElement, '').getPropertyValue('grid-template-columns') is "[first] 10px"
+PASS window.getComputedStyle(gridWithFixedElement, '').getPropertyValue('grid-template-rows') is "[first] 15px"
+PASS window.getComputedStyle(gridWithPercentElement, '').getPropertyValue('grid-template-columns') is "424px [last]"
+PASS window.getComputedStyle(gridWithPercentElement, '').getPropertyValue('grid-template-rows') is "162px [last]"
+PASS window.getComputedStyle(gridWithPercentWithoutSize, '').getPropertyValue('grid-template-columns') is "0px [last]"
+PASS window.getComputedStyle(gridWithPercentWithoutSize, '').getPropertyValue('grid-template-rows') is "0px [last]"
+PASS window.getComputedStyle(gridWithPercentWithoutSizeWithChildren, '').getPropertyValue('grid-template-columns') is "77px [last]"
+PASS window.getComputedStyle(gridWithPercentWithoutSizeWithChildren, '').getPropertyValue('grid-template-rows') is "22px [last]"
+PASS window.getComputedStyle(gridWithAutoElement, '').getPropertyValue('grid-template-columns') is "[first] 0px"
+PASS window.getComputedStyle(gridWithAutoElement, '').getPropertyValue('grid-template-rows') is "0px [last]"
+PASS window.getComputedStyle(gridWithAutoWithChildrenElement, '').getPropertyValue('grid-template-columns') is "[first] 77px"
+PASS window.getComputedStyle(gridWithAutoWithChildrenElement, '').getPropertyValue('grid-template-rows') is "22px [last]"
+PASS window.getComputedStyle(gridWithMinMax, '').getPropertyValue('grid-template-columns') is "[first] 80px"
+PASS window.getComputedStyle(gridWithMinMax, '').getPropertyValue('grid-template-rows') is "300px [last]"
+PASS window.getComputedStyle(gridWithFixedMultiple, '').getPropertyValue('grid-template-columns') is "[first nav] 10px [last]"
+PASS window.getComputedStyle(gridWithFixedMultiple, '').getPropertyValue('grid-template-rows') is "[first nav] 15px [last]"
+PASS window.getComputedStyle(gridWithPercentageSameStringMultipleTimes, '').getPropertyValue('grid-template-columns') is "[first nav] 80px [nav] 120px [last]"
+PASS window.getComputedStyle(gridWithPercentageSameStringMultipleTimes, '').getPropertyValue('grid-template-rows') is "[first nav2] 150px [nav2] 450px [last]"
+PASS window.getComputedStyle(gridWithRepeatElement, '').getPropertyValue('grid-template-columns') is "[first] 10px [nav nav2] 400px [nav nav2] 400px"
+PASS window.getComputedStyle(gridWithRepeatElement, '').getPropertyValue('grid-template-rows') is "100px [nav nav2] 150px [nav nav2] 150px [last]"
+PASS window.getComputedStyle(gridWithEmptyBrackets, '').getPropertyValue('grid-template-columns') is "10px"
+PASS window.getComputedStyle(gridWithEmptyBrackets, '').getPropertyValue('grid-template-rows') is "20px 50px"
Test getting and setting grid-template-columns and grid-template-rows through JS
-PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "(first) 18px"
-PASS element.style.gridTemplateColumns is "(first) 18px"
-PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "66px (last)"
-PASS element.style.gridTemplateRows is "66px (last)"
-PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "(first) 440px"
-PASS element.style.gridTemplateColumns is "(first) 55%"
-PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "240px (last)"
-PASS element.style.gridTemplateRows is "40% (last)"
-PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "(first) 0px"
-PASS element.style.gridTemplateColumns is "(first) auto"
-PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "0px (last)"
-PASS element.style.gridTemplateRows is "auto (last)"
-PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "(first) 0px"
-PASS element.style.gridTemplateColumns is "(first) min-content"
-PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "0px (last)"
-PASS element.style.gridTemplateRows is "min-content (last)"
-PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "(first) 0px"
-PASS element.style.gridTemplateColumns is "(first) max-content"
-PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "0px (last)"
-PASS element.style.gridTemplateRows is "max-content (last)"
-PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "(first) 440px"
-PASS element.style.gridTemplateColumns is "(first) minmax(55%, 45px)"
-PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "240px (last)"
-PASS element.style.gridTemplateRows is "minmax(30px, 40%) (last)"
-PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "(first) 220px"
-PASS element.style.gridTemplateColumns is "(first) minmax(22em, max-content)"
-PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "50px (last)"
-PASS element.style.gridTemplateRows is "minmax(max-content, 5em) (last)"
-PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "(first) 220px"
-PASS element.style.gridTemplateColumns is "(first) minmax(22em, min-content)"
-PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "50px (last)"
-PASS element.style.gridTemplateRows is "minmax(min-content, 5em) (last)"
-PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "(first) 0px"
-PASS element.style.gridTemplateColumns is "(first) minmax(min-content, max-content)"
-PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "0px (last)"
-PASS element.style.gridTemplateRows is "minmax(max-content, min-content) (last)"
-PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "(first nav) 0px (last)"
-PASS element.style.gridTemplateColumns is "(first nav) minmax(min-content, max-content) (last)"
-PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "(first nav) 0px (last)"
-PASS element.style.gridTemplateRows is "(first nav) minmax(max-content, min-content) (last)"
-PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "(first nav) 0px (nav) 0px (last)"
-PASS element.style.gridTemplateColumns is "(first nav) minmax(min-content, max-content) (nav) auto (last)"
-PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "(first nav2) 0px (nav2) 15px (last)"
-PASS element.style.gridTemplateRows is "(first nav2) minmax(max-content, min-content) (nav2) minmax(10px, 15px) (last)"
-PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "(foo bar) 0px (foo) 0px (bar)"
-PASS element.style.gridTemplateColumns is "(foo bar) auto (foo) auto (bar)"
-PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "(foo bar) 0px (foo) 0px (bar)"
-PASS element.style.gridTemplateRows is "(foo bar) auto (foo) auto (bar)"
-PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "(first) 0px (foo bar) 20px (foo bar) 20px"
-PASS element.style.gridTemplateColumns is "(first) auto (foo bar) 20px (foo bar) 20px"
-PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "220px (foo) 300px (baz)"
-PASS element.style.gridTemplateRows is "220px (foo) 50% (baz)"
+PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "[first] 18px"
+PASS element.style.gridTemplateColumns is "[first] 18px"
+PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "66px [last]"
+PASS element.style.gridTemplateRows is "66px [last]"
+PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "[first] 440px"
+PASS element.style.gridTemplateColumns is "[first] 55%"
+PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "240px [last]"
+PASS element.style.gridTemplateRows is "40% [last]"
+PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "[first] 0px"
+PASS element.style.gridTemplateColumns is "[first] auto"
+PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "0px [last]"
+PASS element.style.gridTemplateRows is "auto [last]"
+PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "[first] 0px"
+PASS element.style.gridTemplateColumns is "[first] min-content"
+PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "0px [last]"
+PASS element.style.gridTemplateRows is "min-content [last]"
+PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "[first] 0px"
+PASS element.style.gridTemplateColumns is "[first] max-content"
+PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "0px [last]"
+PASS element.style.gridTemplateRows is "max-content [last]"
+PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "[first] 440px"
+PASS element.style.gridTemplateColumns is "[first] minmax(55%, 45px)"
+PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "240px [last]"
+PASS element.style.gridTemplateRows is "minmax(30px, 40%) [last]"
+PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "[first] 220px"
+PASS element.style.gridTemplateColumns is "[first] minmax(22em, max-content)"
+PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "50px [last]"
+PASS element.style.gridTemplateRows is "minmax(max-content, 5em) [last]"
+PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "[first] 220px"
+PASS element.style.gridTemplateColumns is "[first] minmax(22em, min-content)"
+PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "50px [last]"
+PASS element.style.gridTemplateRows is "minmax(min-content, 5em) [last]"
+PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "[first] 0px"
+PASS element.style.gridTemplateColumns is "[first] minmax(min-content, max-content)"
+PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "0px [last]"
+PASS element.style.gridTemplateRows is "minmax(max-content, min-content) [last]"
+PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "[first nav] 0px [last]"
+PASS element.style.gridTemplateColumns is "[first nav] minmax(min-content, max-content) [last]"
+PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "[first nav] 0px [last]"
+PASS element.style.gridTemplateRows is "[first nav] minmax(max-content, min-content) [last]"
+PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "[first nav] 0px [nav] 0px [last]"
+PASS element.style.gridTemplateColumns is "[first nav] minmax(min-content, max-content) [nav] auto [last]"
+PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "[first nav2] 0px [nav2] 15px [last]"
+PASS element.style.gridTemplateRows is "[first nav2] minmax(max-content, min-content) [nav2] minmax(10px, 15px) [last]"
+PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "[foo bar] 0px [foo] 0px [bar]"
+PASS element.style.gridTemplateColumns is "[foo bar] auto [foo] auto [bar]"
+PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "[foo bar] 0px [foo] 0px [bar]"
+PASS element.style.gridTemplateRows is "[foo bar] auto [foo] auto [bar]"
+PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "[first] 0px [foo bar] 20px [foo bar] 20px"
+PASS element.style.gridTemplateColumns is "[first] auto [foo bar] 20px [foo bar] 20px"
+PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "220px [foo] 300px [baz]"
+PASS element.style.gridTemplateRows is "220px [foo] 50% [baz]"
Test getting invalid grid-template-columns and grid-template-rows set through CSS
-PASS window.getComputedStyle(gridWithoutParentheses, '').getPropertyValue('grid-template-columns') is "none"
-PASS window.getComputedStyle(gridWithoutParentheses, '').getPropertyValue('grid-template-rows') is "none"
-PASS window.getComputedStyle(gridWithInvalidNestedParentheses, '').getPropertyValue('grid-template-columns') is "none"
-PASS window.getComputedStyle(gridWithInvalidNestedParentheses, '').getPropertyValue('grid-template-rows') is "none"
-PASS window.getComputedStyle(gridWithUnbalancedParentheses, '').getPropertyValue('grid-template-columns') is "none"
-PASS window.getComputedStyle(gridWithUnbalancedParentheses, '').getPropertyValue('grid-template-rows') is "none"
-PASS window.getComputedStyle(gridWithMisplacedParentheses, '').getPropertyValue('grid-template-columns') is "none"
-PASS window.getComputedStyle(gridWithMisplacedParentheses, '').getPropertyValue('grid-template-rows') is "none"
-PASS window.getComputedStyle(gridWithContiguousParentheses, '').getPropertyValue('grid-template-columns') is "none"
-PASS window.getComputedStyle(gridWithContiguousParentheses, '').getPropertyValue('grid-template-rows') is "none"
+PASS window.getComputedStyle(gridWithoutBrackets, '').getPropertyValue('grid-template-columns') is "none"
+PASS window.getComputedStyle(gridWithoutBrackets, '').getPropertyValue('grid-template-rows') is "none"
+PASS window.getComputedStyle(gridWithInvalidNestedBrackets, '').getPropertyValue('grid-template-columns') is "none"
+PASS window.getComputedStyle(gridWithInvalidNestedBrackets, '').getPropertyValue('grid-template-rows') is "none"
+PASS window.getComputedStyle(gridWithUnbalancedBrackets, '').getPropertyValue('grid-template-columns') is "none"
+PASS window.getComputedStyle(gridWithUnbalancedBrackets, '').getPropertyValue('grid-template-rows') is "none"
+PASS window.getComputedStyle(gridWithMisplacedBrackets, '').getPropertyValue('grid-template-columns') is "none"
+PASS window.getComputedStyle(gridWithMisplacedBrackets, '').getPropertyValue('grid-template-rows') is "none"
+PASS window.getComputedStyle(gridWithContiguousBrackets, '').getPropertyValue('grid-template-columns') is "none"
+PASS window.getComputedStyle(gridWithContiguousBrackets, '').getPropertyValue('grid-template-rows') is "none"
+PASS window.getComputedStyle(gridWithInvalidCustomIdents, '').getPropertyValue('grid-template-columns') is "none"
+PASS window.getComputedStyle(gridWithInvalidCustomIdents, '').getPropertyValue('grid-template-rows') is "none"
Test getting and setting invalid grid-template-columns and grid-template-rows through JS
PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "none"
@@ -106,6 +108,8 @@ PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-column
PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "none"
PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "none"
PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "none"
+PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "none"
+PASS window.getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "none"
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698