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

Unified Diff: third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-end-after-get-set.html

Issue 1798863005: Move some grid-column/grid-row related longhands into CSSPropertyParser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Standalone change Created 4 years, 9 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-end-after-get-set-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-end-after-get-set.html
diff --git a/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-end-after-get-set.html b/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-end-after-get-set.html
index ab8ec150f0d45b97e9d2222ca42d4ddfe95d1ac4..6ea1ff16999e02bac68fbf65cdaa3f33461bf318 100644
--- a/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-end-after-get-set.html
+++ b/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-end-after-get-set.html
@@ -52,6 +52,26 @@
grid-column-end: firstArea;
grid-row-end: thirdArea;
}
+.gridItemWithCSSWideKeyword {
+ grid-column-end: 2 inherit;
+ grid-row-end: 2 initial;
+}
+.gridItemWithCSSWideKeyword2 {
+ grid-column-end: 2 unset;
+ grid-row-end: 2 default;
+}
+.gridItemWithSpanAuto {
+ grid-column-end: span auto;
+ grid-row-end: auto span;
+}
+.gridItemWithOneAuto {
+ grid-column-end: 1 auto;
+ grid-row-end: auto 1;
+}
+.gridItemWithSpanAutoOne {
+ grid-column-end: span 1 auto;
+ grid-row-end: span auto 1;
+}
</style>
<script src="resources/grid-item-column-row-parsing-utils.js"></script>
<script src="../../resources/js-test.js"></script>
@@ -71,6 +91,11 @@
<div class="gridItemWithSpanCustomIdent" id="gridItemWithSpanCustomIdentElement"></div>
<div class="gridItemWithSpanNumberCustomIdent" id="gridItemWithSpanNumberCustomIdentElement"></div>
<div class="gridItemWithArea" id="gridItemWithArea"></div>
+ <div class="gridItemWithCSSWideKeyword" id="gridItemWithCSSWideKeyword"></div>
+ <div class="gridItemWithCSSWideKeyword2" id="gridItemWithCSSWideKeyword2"></div>
+ <div class="gridItemWithSpanAuto" id="gridItemWithSpanAuto"></div>
+ <div class="gridItemWithOneAuto" id="gridItemWithOneAuto"></div>
+ <div class="gridItemWithSpanAutoOne" id="gridItemWithSpanAutoOne"></div>
</div>
<script>
description('Test that setting and getting grid-column-end and grid-row-end works as expected');
@@ -88,6 +113,11 @@
testColumnRowCSSParsing("gridItemWithSpanCustomIdentElement", "auto / span 1 first", "auto / span 1 last");
testColumnRowCSSParsing("gridItemWithSpanNumberCustomIdentElement", "auto / span 2 first", "auto / span 3 last");
testColumnRowCSSParsing("gridItemWithArea", "auto / firstArea", "auto / thirdArea");
+ testColumnRowCSSParsing("gridItemWithCSSWideKeyword", "auto / auto", "auto / auto");
+ testColumnRowCSSParsing("gridItemWithCSSWideKeyword2", "auto / auto", "auto / auto");
+ testColumnRowCSSParsing("gridItemWithSpanAuto", "auto / auto", "auto / auto");
+ testColumnRowCSSParsing("gridItemWithOneAuto", "auto / auto", "auto / auto");
+ testColumnRowCSSParsing("gridItemWithSpanAutoOne", "auto / auto", "auto / auto");
debug("");
debug("Test the initial value");
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-end-after-get-set-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698