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

Unified Diff: LayoutTests/fast/css-grid-layout/grid-item-column-row-get-set.html

Issue 22353013: [CSS Grid Layout] Unknown grid area should compute to 'auto' (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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/grid-item-column-row-get-set.html
diff --git a/LayoutTests/fast/css-grid-layout/grid-item-column-row-get-set.html b/LayoutTests/fast/css-grid-layout/grid-item-column-row-get-set.html
index aa7b589ae448585413688467abd228b37d0b4504..b39c7b19110c3d88ea8e4cafca22a229f3528416 100755
--- a/LayoutTests/fast/css-grid-layout/grid-item-column-row-get-set.html
+++ b/LayoutTests/fast/css-grid-layout/grid-item-column-row-get-set.html
@@ -4,8 +4,8 @@
<link href="resources/grid.css" rel="stylesheet">
<style>
.grid {
- grid-template: "firstArea" "secondArea"
- "thirdArea" "thirdArea";
+ grid-template: "firstArea secondArea"
+ "thirdArea thirdArea";
}
.gridItemWithPositiveInteger {
@@ -144,9 +144,9 @@
testColumnRowJSParsing("'first' / 'last'", "'nav' / 'last' span", "1 first / 1 last", "1 nav / span 1 last");
testColumnRowJSParsing("3 'first' / 2 'last'", "5 'nav' / 'last' 7 span", "3 first / 2 last", "5 nav / span 7 last");
testColumnRowJSParsing("3 'first' span / -3 'last'", "'last' 2 span / -1 'nav'", "span 3 first / -3 last", "span 2 last / -1 nav");
- testColumnRowJSParsing("5 / none", "8 / foobar");
- testColumnRowJSParsing("nonExistent / none", "nonExistent / foobar");
- testColumnRowJSParsing("span 'first' 3 / none", "'last' span / foobar", "span 3 first / none", "span 1 last / foobar");
+ testColumnRowJSParsing("5 / none", "8 / foobar", "5 / auto", "8 / auto");
+ testColumnRowJSParsing("nonExistent / none", "nonExistent / foobar", "auto / auto", "auto / auto");
+ testColumnRowJSParsing("span 'first' 3 / none", "'last' span / foobar", "span 3 first / auto", "span 1 last / auto");
debug("");
debug("Test setting grid-column and grid-row back to 'auto' through JS");

Powered by Google App Engine
This is Rietveld 408576698