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"); |