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

Unified Diff: LayoutTests/fast/css-grid-layout/grid-auto-flow-update.html

Issue 333563003: [CSS Grid Layout] Update grid-auto-flow to the new syntax (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Attempt 2 to fix win_blink_rel Created 6 years, 6 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-auto-flow-update.html
diff --git a/LayoutTests/fast/css-grid-layout/grid-auto-flow-update.html b/LayoutTests/fast/css-grid-layout/grid-auto-flow-update.html
index aeb3d4edc7aaa7520deb5ac10ed6c0df87ddf4ae..c8521f6713755e185186d8774d7966f39d7dd804 100644
--- a/LayoutTests/fast/css-grid-layout/grid-auto-flow-update.html
+++ b/LayoutTests/fast/css-grid-layout/grid-auto-flow-update.html
@@ -25,10 +25,11 @@ function updateAutoFlow()
{
checkLayout(".grid");
- testGrid("row", { 'offsetX': '50', 'offsetY': '0', 'width': '100', 'height': '50' });
testGrid("column", { 'offsetX': '0', 'offsetY': '50', 'width': '50', 'height': '100' });
- testGrid("invalid", { 'offsetX': '0', 'offsetY': '50', 'width': '50', 'height': '100' });
- testGrid("none", { 'offsetX': '0', 'offsetY': '0', 'width': '50', 'height': '50' });
+ testGrid("stack", { 'offsetX': '0', 'offsetY': '0', 'width': '50', 'height': '50' });
+ testGrid("", { 'offsetX': '50', 'offsetY': '0', 'width': '100', 'height': '50' });
+ testGrid("invalid", { 'offsetX': '50', 'offsetY': '0', 'width': '100', 'height': '50' });
+ testGrid("none", { 'offsetX': '50', 'offsetY': '0', 'width': '100', 'height': '50' });
}
window.addEventListener("load", updateAutoFlow, false);
</script>
@@ -36,7 +37,7 @@ window.addEventListener("load", updateAutoFlow, false);
<div>This test checks that updating the grid's element's grid-auto-flow property recomputes the grid.</div>
<div style="position: relative">
<div class="grid">
- <div class="sizedToGridArea autoRowAutoColumn" id="autoItem" data-offset-x="0" data-offset-y="0" data-expected-width="50" data-expected-height="50"></div>
+ <div class="sizedToGridArea autoRowAutoColumn" id="autoItem" data-offset-x="50" data-offset-y="0" data-expected-width="100" data-expected-height="50"></div>
<div class="sizedToGridArea firstRowFirstColumn" data-offset-x="0" data-offset-y="0" data-expected-width="50" data-expected-height="50"></div>
</div>
</div>

Powered by Google App Engine
This is Rietveld 408576698