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

Unified Diff: third_party/WebKit/LayoutTests/fast/alignment/parse-justify-items.html

Issue 1709963002: [css-align] New CSS Value 'normal' for Self Alignment (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/alignment/parse-justify-items.html
diff --git a/third_party/WebKit/LayoutTests/fast/alignment/parse-justify-items.html b/third_party/WebKit/LayoutTests/fast/alignment/parse-justify-items.html
index d1e8c77f5ce9cf604281efa0cac1ad04efd9e67f..3a2aa6a8283f1155a428c4ba91ee6c77bdf1721c 100644
--- a/third_party/WebKit/LayoutTests/fast/alignment/parse-justify-items.html
+++ b/third_party/WebKit/LayoutTests/fast/alignment/parse-justify-items.html
@@ -223,7 +223,7 @@ debug("");
debug("Test initial value of justify-items through JS");
element = document.createElement("div");
document.body.appendChild(element);
-shouldBe("getComputedStyle(element, '').getPropertyValue('justify-items')", "'start'");
+shouldBe("getComputedStyle(element, '').getPropertyValue('justify-items')", "'normal'");
debug("");
debug("Test getting and setting justify-items through JS");
@@ -248,15 +248,15 @@ element.style.justifyItems = "left legacy";
checkValues(element, "justifyItems", "justify-items", "legacy left", "legacy left");
element.style.justifyItems = "auto";
-checkValues(element, "justifyItems", "justify-items", "auto", "start");
+checkValues(element, "justifyItems", "justify-items", "auto", "normal");
element.style.display = "flex";
element.style.justifyItems = "auto";
-checkValues(element, "justifyItems", "justify-items", "auto", "stretch");
+checkValues(element, "justifyItems", "justify-items", "auto", "normal");
element.style.display = "grid";
element.style.justifyItems = "auto";
-checkValues(element, "justifyItems", "justify-items", "auto", "stretch");
+checkValues(element, "justifyItems", "justify-items", "auto", "normal");
element.style.justifyItems = "self-end";
checkValues(element, "justifyItems", "justify-items", "self-end", "self-end");
@@ -294,17 +294,17 @@ checkBadValues(element, "justifyItems", "justify-items", "legacy left right");
debug("");
debug("Test the value 'initial'");
element.style.display = "";
-checkInitialValues(element, "justifyItems", "justify-items", "legacy center", "start");
+checkInitialValues(element, "justifyItems", "justify-items", "legacy center", "normal");
debug("");
debug("Test the value 'initial' for grid containers");
element.style.display = "grid";
-checkInitialValues(element, "justifyItems", "justify-items", "left safe", "stretch");
+checkInitialValues(element, "justifyItems", "justify-items", "left safe", "normal");
debug("");
debug("Test the value 'initial' for flex containers");
element.style.display = "flex";
-checkInitialValues(element, "justifyItems", "justify-items", "right unsafe", "stretch");
+checkInitialValues(element, "justifyItems", "justify-items", "right unsafe", "normal");
debug("");
debug("Test the value 'inherit'");

Powered by Google App Engine
This is Rietveld 408576698