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

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

Issue 208133003: [CSS Grid Layout] Prevent issues with checkLayout() in grid items (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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 | LayoutTests/fast/css-grid-layout/grid-auto-columns-rows-update-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/css-grid-layout/grid-auto-columns-rows-update.html
diff --git a/LayoutTests/fast/css-grid-layout/grid-auto-columns-rows-update.html b/LayoutTests/fast/css-grid-layout/grid-auto-columns-rows-update.html
index 1f7f33ed7f4ac9b92cc98456c695369eb9141f92..09a907ef60b070349f059989e2a14e8455b599f4 100644
--- a/LayoutTests/fast/css-grid-layout/grid-auto-columns-rows-update.html
+++ b/LayoutTests/fast/css-grid-layout/grid-auto-columns-rows-update.html
@@ -24,12 +24,12 @@ function updateAndCheck(gridElementID, defaultSizing, gridItemSize)
gridItem.setAttribute("data-expected-width", gridItemSize.width);
gridItem.setAttribute("data-expected-height", gridItemSize.height);
- checkLayout("#" + gridElementID);
+ checkLayout("#" + gridElementID, document.getElementById("test-output"));
}
function updateGridAutoRowsColumns()
{
- checkLayout('.grid');
+ checkLayout('.grid', document.getElementById("test-output"));
// The constrained example is always sized to the min width so we don't test max width.
updateAndCheck("constrainedGrid", { 'rows': 'minmax(20em, 15px)', 'columns': '50px' }, { 'width': '50px', 'height': '200px' });
@@ -84,5 +84,7 @@ window.addEventListener("load", updateGridAutoRowsColumns, false);
</div>
</div>
+<div id="test-output"></div>
+
</body>
</html>
« no previous file with comments | « no previous file | LayoutTests/fast/css-grid-layout/grid-auto-columns-rows-update-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698