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

Unified Diff: LayoutTests/fast/css-grid-layout/percent-intrinsic-track-breadth-crash.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: 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
Index: LayoutTests/fast/css-grid-layout/percent-intrinsic-track-breadth-crash.html
diff --git a/LayoutTests/fast/css-grid-layout/percent-intrinsic-track-breadth-crash.html b/LayoutTests/fast/css-grid-layout/percent-intrinsic-track-breadth-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..6e8b8f176bd31acb58da2e1243259c2b7b4e5777
--- /dev/null
+++ b/LayoutTests/fast/css-grid-layout/percent-intrinsic-track-breadth-crash.html
@@ -0,0 +1,32 @@
+<!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>
+<script type="text/javascript">
+ if (window.testRunner)
+ testRunner.dumpAsText();
+</script>
+</head>
+<body>
+ <p>This test checks that percentage track breadths of intrinsic size do not crash on debug.</p>
+ <div class="grid intrinsic">
+ <div class="grid percentage">
Julien - ping for review 2015/02/18 22:13:16 I assume we were also not resolving this correctly
Manuel Rego 2015/02/25 16:57:59 Yeah, I've changed to a check-layout test and real
+ </div>
+ </div>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698