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

Unified Diff: LayoutTests/fast/css-grid-layout/mark-as-infinitely-growable.html

Issue 1010213002: [CSS Grid Layout] Support marking tracks as infinitely growable (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased against master. Using new templatized methods. Created 5 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/mark-as-infinitely-growable.html
diff --git a/LayoutTests/fast/css-grid-layout/mark-as-infinitely-growable.html b/LayoutTests/fast/css-grid-layout/mark-as-infinitely-growable.html
new file mode 100644
index 0000000000000000000000000000000000000000..f8e646e0cfdca3e983ff7c3a6de0e77bd22a35bd
--- /dev/null
+++ b/LayoutTests/fast/css-grid-layout/mark-as-infinitely-growable.html
@@ -0,0 +1,36 @@
+<!DOCTYPE html>
+<head>
+<link href="resources/grid.css" rel="stylesheet"/>
+<style>
+.grid {
+ font: 10px/1 Ahem;
+}
+.gridAutoAndAuto {
+ grid-template-columns: auto auto;
+}
+
+.gridFixedMaxContentAndFixedMaxContent {
+ grid-template-columns: minmax(20px, max-content) minmax(10px, max-content);
+}
+</style>
+<script src="../../resources/js-test.js"></script>
+</head>
+<body>
+<script src="resources/grid-definitions-parsing-utils.js"></script>
+
+<div class="grid gridAutoAndAuto" id="gridAutoAndAuto">
+ <div class="firstRowFirstColumn">X</div>
+ <div class="firstRowBothColumn">XXXXXX XXX</div>
Manuel Rego 2015/06/26 11:09:47 I guess that both items are in the first row is no
svillar 2015/06/29 07:08:27 Why weird? The behavior is exactly the same, the a
Manuel Rego 2015/06/29 07:46:42 I mean weird from an outsider point of view, that
+</div>
+
+<div class="grid gridFixedMaxContentAndFixedMaxContent" id="gridFixedMaxContentAndFixedMaxContent">
+ <div class="firstRowFirstColumn">XX</div>
Manuel Rego 2015/06/26 11:09:47 Wouldn't be better to have just one "X" here? That
svillar 2015/06/29 07:08:27 Well this is test was made to check the infinitely
Manuel Rego 2015/06/29 07:46:42 Yeah, it's not related to this maybe you can've bo
+ <div class="firstRowBothColumn">XXXX X XXX</div>
+</div>
+
+<script>
+testGridDefinitionsValues(gridAutoAndAuto, "10px 90px", "10px");
+testGridDefinitionsValues(gridFixedMaxContentAndFixedMaxContent, "20px 80px", "10px");
+</script>
+
+</body>

Powered by Google App Engine
This is Rietveld 408576698