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

Unified Diff: third_party/WebKit/LayoutTests/fast/css-grid-layout/resources/grid-template-shorthand-parsing-utils.js

Issue 1583433002: [css-align] New CSS Value 'normal' for Content Alignment (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed layout tests failing. Created 4 years, 10 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: third_party/WebKit/LayoutTests/fast/css-grid-layout/resources/grid-template-shorthand-parsing-utils.js
diff --git a/third_party/WebKit/LayoutTests/fast/css-grid-layout/resources/grid-template-shorthand-parsing-utils.js b/third_party/WebKit/LayoutTests/fast/css-grid-layout/resources/grid-template-shorthand-parsing-utils.js
index 3fcec85cd363cc7a68fdbe6893fac4e8ead0f4e7..6eec899045838f84bbcc9d8e8d19a73ad065eb68 100644
--- a/third_party/WebKit/LayoutTests/fast/css-grid-layout/resources/grid-template-shorthand-parsing-utils.js
+++ b/third_party/WebKit/LayoutTests/fast/css-grid-layout/resources/grid-template-shorthand-parsing-utils.js
@@ -25,6 +25,8 @@ function checkGridDefinitionsSetJSValues(useGrid, shorthandValue, computedColumn
element.style.display = "grid";
element.style.width = "800px";
element.style.height = "600px";
+ element.style.justifyContent = "start";
+ element.style.alignContent = "start";
}
element.style.font = "10px Ahem"; // Used to resolve em font consistently.
@@ -48,4 +50,4 @@ function testGridDefinitionsSetBadJSValues(shorthandValue)
// We can't use testSetJSValues as element.style.gridTemplateRows returns "".
testGridDefinitionsValues(element, "none", "none", "none");
document.body.removeChild(element);
-}
+}

Powered by Google App Engine
This is Rietveld 408576698