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

Unified Diff: LayoutTests/fast/css-grid-layout/grid-shorthands-style-format-expected.txt

Issue 1132753002: [CSS Grid Layout] Fix grid shorthands CSSOM serialization (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Update test expectations for webexposed/nonstable-css-properties.html Created 5 years, 7 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-shorthands-style-format-expected.txt
diff --git a/LayoutTests/fast/css-grid-layout/grid-shorthands-style-format-expected.txt b/LayoutTests/fast/css-grid-layout/grid-shorthands-style-format-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..81026393652fb994ca654beda230524c43d4857e
--- /dev/null
+++ b/LayoutTests/fast/css-grid-layout/grid-shorthands-style-format-expected.txt
@@ -0,0 +1,36 @@
+Test that the format of grid shorthands style uses slashes as expected
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+Test grid-column shorthand
+PASS item.style.gridColumn is "1 / auto"
+PASS item.style.gridColumn is "1 / 3"
+PASS item.style.gridColumn is "1 / span 2"
+PASS item.style.gridColumn is "foo / bar"
+PASS item.style.gridColumn is "foo / span bar"
+PASS item.style.gridColumn is "2 foo / span 3 bar"
+Test grid-row shorthand
+PASS item.style.gridRow is "1 / auto"
+PASS item.style.gridRow is "1 / 3"
+PASS item.style.gridRow is "1 / span 2"
+PASS item.style.gridRow is "foo / bar"
+PASS item.style.gridRow is "foo / span bar"
+PASS item.style.gridRow is "2 foo / span 3 bar"
+Test grid-area shorthand
+PASS item.style.gridArea is "1 / auto / auto / auto"
+PASS item.style.gridArea is "1 / 3 / auto / auto"
+PASS item.style.gridArea is "1 / span 2 / auto / auto"
+PASS item.style.gridArea is "foo / foo / foo / foo"
+PASS item.style.gridArea is "foo / bar / foo / bar"
+PASS item.style.gridArea is "2 foo / span 3 bar / auto / auto"
+PASS item.style.gridArea is "1 / 2 / 3 / auto"
+PASS item.style.gridArea is "1 / 3 / 2 / 4"
+PASS item.style.gridArea is "1 / span 2 / 1 / span 2"
+PASS item.style.gridArea is "foo / bar / baz / qux"
+PASS item.style.gridArea is "foo / span bar / baz / span qux"
+PASS item.style.gridArea is "2 foo / span 3 bar / 3 baz / span 2 qux"
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698