Index: LayoutTests/fast/css-grid-layout/non-named-grid-line-get-set-expected.txt |
diff --git a/LayoutTests/fast/css-grid-layout/non-named-grid-line-get-set-expected.txt b/LayoutTests/fast/css-grid-layout/non-named-grid-line-get-set-expected.txt |
index aeec8e6fd534daa5138e49bca5ed163bd0bdd255..78de122f78c23c1cf2713a1f5f2dc2ea4c79e7f3 100644 |
--- a/LayoutTests/fast/css-grid-layout/non-named-grid-line-get-set-expected.txt |
+++ b/LayoutTests/fast/css-grid-layout/non-named-grid-line-get-set-expected.txt |
@@ -4,72 +4,72 @@ 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 "53% (last)" |
-PASS window.getComputedStyle(gridWithPercentElement, '').getPropertyValue('grid-template-rows') is "27% (last)" |
-PASS window.getComputedStyle(gridWithAutoElement, '').getPropertyValue('grid-template-columns') is "(first) auto" |
-PASS window.getComputedStyle(gridWithAutoElement, '').getPropertyValue('grid-template-rows') is "auto (last)" |
-PASS window.getComputedStyle(gridWithMinMax, '').getPropertyValue('grid-template-columns') is "(first) minmax(10%, 15px)" |
-PASS window.getComputedStyle(gridWithMinMax, '').getPropertyValue('grid-template-rows') is "minmax(20px, 50%) (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) 10% (nav) 15% (last)" |
-PASS window.getComputedStyle(gridWithPercentageSameStringMultipleTimes, '').getPropertyValue('grid-template-rows') is "(first nav2) 25% (nav2) 75% (last)" |
-PASS window.getComputedStyle(gridWithRepeatElement, '').getPropertyValue('grid-template-columns') is "(first) 10px (nav nav2) 50% (nav nav2) 50%" |
-PASS window.getComputedStyle(gridWithRepeatElement, '').getPropertyValue('grid-template-rows') is "100px (nav nav2) 25% (nav nav2) 25% (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 "53% [last]" |
+PASS window.getComputedStyle(gridWithPercentElement, '').getPropertyValue('grid-template-rows') is "27% [last]" |
+PASS window.getComputedStyle(gridWithAutoElement, '').getPropertyValue('grid-template-columns') is "[first] auto" |
+PASS window.getComputedStyle(gridWithAutoElement, '').getPropertyValue('grid-template-rows') is "auto [last]" |
+PASS window.getComputedStyle(gridWithMinMax, '').getPropertyValue('grid-template-columns') is "[first] minmax(10%, 15px)" |
+PASS window.getComputedStyle(gridWithMinMax, '').getPropertyValue('grid-template-rows') is "minmax(20px, 50%) [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] 10% [nav] 15% [last]" |
+PASS window.getComputedStyle(gridWithPercentageSameStringMultipleTimes, '').getPropertyValue('grid-template-rows') is "[first nav2] 25% [nav2] 75% [last]" |
+PASS window.getComputedStyle(gridWithRepeatElement, '').getPropertyValue('grid-template-columns') is "[first] 10px [nav nav2] 50% [nav nav2] 50%" |
+PASS window.getComputedStyle(gridWithRepeatElement, '').getPropertyValue('grid-template-rows') is "100px [nav nav2] 25% [nav nav2] 25% [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) 55%" |
-PASS element.style.gridTemplateColumns is "(first) 55%" |
-PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "40% (last)" |
-PASS element.style.gridTemplateRows is "40% (last)" |
-PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "(first) auto" |
-PASS element.style.gridTemplateColumns is "(first) auto" |
-PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "auto (last)" |
-PASS element.style.gridTemplateRows is "auto (last)" |
-PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "(first) min-content" |
-PASS element.style.gridTemplateColumns is "(first) min-content" |
-PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "min-content (last)" |
-PASS element.style.gridTemplateRows is "min-content (last)" |
-PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "(first) max-content" |
-PASS element.style.gridTemplateColumns is "(first) max-content" |
-PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "max-content (last)" |
-PASS element.style.gridTemplateRows is "max-content (last)" |
-PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "(first) minmax(55%, 45px)" |
-PASS element.style.gridTemplateColumns is "(first) minmax(55%, 45px)" |
-PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "minmax(30px, 40%) (last)" |
-PASS element.style.gridTemplateRows is "minmax(30px, 40%) (last)" |
-PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "(first) minmax(220px, max-content)" |
-PASS element.style.gridTemplateColumns is "(first) minmax(22em, max-content)" |
-PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "minmax(max-content, 50px) (last)" |
-PASS element.style.gridTemplateRows is "minmax(max-content, 5em) (last)" |
-PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "(first) minmax(220px, min-content)" |
-PASS element.style.gridTemplateColumns is "(first) minmax(22em, min-content)" |
-PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "minmax(min-content, 50px) (last)" |
-PASS element.style.gridTemplateRows is "minmax(min-content, 5em) (last)" |
-PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "(first) minmax(min-content, max-content)" |
-PASS element.style.gridTemplateColumns is "(first) minmax(min-content, max-content)" |
-PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "minmax(max-content, min-content) (last)" |
-PASS element.style.gridTemplateRows is "minmax(max-content, min-content) (last)" |
-PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "(first nav) minmax(min-content, max-content) (last)" |
-PASS element.style.gridTemplateColumns is "(first nav) minmax(min-content, max-content) (last)" |
-PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "(first nav) minmax(max-content, min-content) (last)" |
-PASS element.style.gridTemplateRows is "(first nav) minmax(max-content, min-content) (last)" |
-PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "(first nav) minmax(min-content, max-content) (nav) auto (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) minmax(max-content, min-content) (nav2) minmax(10px, 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) auto (foo) auto (bar)" |
-PASS element.style.gridTemplateColumns is "(foo bar) auto (foo) auto (bar)" |
-PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "(foo bar) auto (foo) auto (bar)" |
-PASS element.style.gridTemplateRows is "(foo bar) auto (foo) auto (bar)" |
+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] 55%" |
+PASS element.style.gridTemplateColumns is "[first] 55%" |
+PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "40% [last]" |
+PASS element.style.gridTemplateRows is "40% [last]" |
+PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "[first] auto" |
+PASS element.style.gridTemplateColumns is "[first] auto" |
+PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "auto [last]" |
+PASS element.style.gridTemplateRows is "auto [last]" |
+PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "[first] min-content" |
+PASS element.style.gridTemplateColumns is "[first] min-content" |
+PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "min-content [last]" |
+PASS element.style.gridTemplateRows is "min-content [last]" |
+PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "[first] max-content" |
+PASS element.style.gridTemplateColumns is "[first] max-content" |
+PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "max-content [last]" |
+PASS element.style.gridTemplateRows is "max-content [last]" |
+PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "[first] minmax(55%, 45px)" |
+PASS element.style.gridTemplateColumns is "[first] minmax(55%, 45px)" |
+PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "minmax(30px, 40%) [last]" |
+PASS element.style.gridTemplateRows is "minmax(30px, 40%) [last]" |
+PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "[first] minmax(220px, max-content)" |
+PASS element.style.gridTemplateColumns is "[first] minmax(22em, max-content)" |
+PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "minmax(max-content, 50px) [last]" |
+PASS element.style.gridTemplateRows is "minmax(max-content, 5em) [last]" |
+PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "[first] minmax(220px, min-content)" |
+PASS element.style.gridTemplateColumns is "[first] minmax(22em, min-content)" |
+PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "minmax(min-content, 50px) [last]" |
+PASS element.style.gridTemplateRows is "minmax(min-content, 5em) [last]" |
+PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "[first] minmax(min-content, max-content)" |
+PASS element.style.gridTemplateColumns is "[first] minmax(min-content, max-content)" |
+PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "minmax(max-content, min-content) [last]" |
+PASS element.style.gridTemplateRows is "minmax(max-content, min-content) [last]" |
+PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "[first nav] minmax(min-content, max-content) [last]" |
+PASS element.style.gridTemplateColumns is "[first nav] minmax(min-content, max-content) [last]" |
+PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "[first nav] minmax(max-content, min-content) [last]" |
+PASS element.style.gridTemplateRows is "[first nav] minmax(max-content, min-content) [last]" |
+PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "[first nav] minmax(min-content, max-content) [nav] auto [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] minmax(max-content, min-content) [nav2] minmax(10px, 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] auto [foo] auto [bar]" |
+PASS element.style.gridTemplateColumns is "[foo bar] auto [foo] auto [bar]" |
+PASS getComputedStyle(element, '').getPropertyValue('grid-template-rows') is "[foo bar] auto [foo] auto [bar]" |
+PASS element.style.gridTemplateRows is "[foo bar] auto [foo] auto [bar]" |
Test getting and setting invalid grid-template-columns and grid-template-rows through JS |
PASS getComputedStyle(element, '').getPropertyValue('grid-template-columns') is "none" |