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

Unified Diff: LayoutTests/fast/css-grid-layout/percent-intrinsic-track-breadth.html

Issue 914993003: [CSS Grid Layout] Determine definite/indefinite size properly in nested grids (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rename isRenderView() calls to isLayoutView() Created 5 years, 10 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/percent-intrinsic-track-breadth-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/percent-intrinsic-track-breadth.html
diff --git a/LayoutTests/fast/css-grid-layout/percent-intrinsic-track-breadth.html b/LayoutTests/fast/css-grid-layout/percent-intrinsic-track-breadth.html
new file mode 100644
index 0000000000000000000000000000000000000000..277f3968a9f496cb06b9c2fb4f082a1fbdbf590b
--- /dev/null
+++ b/LayoutTests/fast/css-grid-layout/percent-intrinsic-track-breadth.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link href="resources/grid.css" rel="stylesheet">
+<style>
+.intrinsic {
+ grid-template-rows: max-content;
+ grid-template-columns: max-content;
+ height: 500px;
+ width: 500px;
+}
+
+.percentage {
+ grid-template-rows: 100%;
+ grid-template-columns: 100%;
+ height: 100%;
+ width: 100%;
+}
+</style>
+</head>
+<script src="../../resources/check-layout.js"></script>
+<body onload="checkLayout('.percentage');">
+ <p>This test checks that percentage track breadths of intrinsic size are treated as auto.</p>
+ <div class="grid intrinsic">
+ <div class="grid percentage">
+ <div class="sizedToGridArea" data-expected-width="50" data-expected-height="10">XXXXX</div>
+ </div>
+ </div>
+</body>
+</html>
« no previous file with comments | « no previous file | LayoutTests/fast/css-grid-layout/percent-intrinsic-track-breadth-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698