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

Unified Diff: LayoutTests/fast/css-grid-layout/grid-item-start-before-get-set.html

Issue 14493016: Fix handling of 'inherit' and 'initial' for grid lines (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Take 2: Forgot the code Created 7 years, 8 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-start-before-get-set.html
diff --git a/LayoutTests/fast/css-grid-layout/grid-item-start-before-get-set.html b/LayoutTests/fast/css-grid-layout/grid-item-start-before-get-set.html
index d39bb66af768c3d6f2ec0c579e82b76a42a0ec99..09e9ec5cd11441e13e388aa48a56e84bdb67ed68 100644
--- a/LayoutTests/fast/css-grid-layout/grid-item-start-before-get-set.html
+++ b/LayoutTests/fast/css-grid-layout/grid-item-start-before-get-set.html
@@ -77,6 +77,16 @@ if (window.testRunner)
testStartBeforeJSParsing("auto", "auto");
debug("");
+ debug("Test setting grid-start and grid-before to 'inherit' through JS");
+ testStartBeforeInheritJSParsing("inherit", "18");
+ testStartBeforeInheritJSParsing("2", "inherit");
+ testStartBeforeInheritJSParsing("inherit", "inherit");
+
+ debug("");
+ debug("Test setting grid-start and grid-before to 'initial' through JS");
+ testStartBeforeInitialJSParsing();
+
+ debug("");
debug("Test setting grid-start and grid-before back to 'auto' through JS");
element.style.webkitGridStart = "18";
element.style.webkitGridBefore = "66";

Powered by Google App Engine
This is Rietveld 408576698