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

Unified Diff: LayoutTests/fast/css-grid-layout/flex-content-sized-column-use-available-width.html

Issue 146833018: [CSS Grid Layout] Fix missing layout in flexible and content sized columns (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: New version of the patch fixing layout tests and comming back to original approach Created 6 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/flex-content-sized-column-use-available-width-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/css-grid-layout/flex-content-sized-column-use-available-width.html
diff --git a/LayoutTests/fast/css-grid-layout/flex-content-sized-column-use-available-width.html b/LayoutTests/fast/css-grid-layout/flex-content-sized-column-use-available-width.html
new file mode 100644
index 0000000000000000000000000000000000000000..4133d4664432eb01e9de32284552d7854961ce27
--- /dev/null
+++ b/LayoutTests/fast/css-grid-layout/flex-content-sized-column-use-available-width.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <link href="resources/grid.css" rel="stylesheet">
+ <style type="text/css">
+ #grid-1 {
+ grid-template-columns: 1fr;
+ }
+
+ #grid-2 {
+ grid-template-columns: auto;
+ }
+ </style>
+</head>
+<body>
+ <h1>Description</h1>
+ <p>Flex and content sized column should use all the available width and you should not see the grid background (grey at the end).</p>
+ <h1>Grid 1 flex column</h1>
+ <div id="grid-1" class="grid">
+ <div class="firstRowFirstColumn">grid item</div>
+ </div>
+ <h1>Grid 1 auto column</h1>
+ <div id="grid-2" class="grid">
+ <div class="firstRowFirstColumn">
+ grid item grid item grid item grid item grid item grid item grid item grid item grid item grid item
+ grid item grid item grid item grid item grid item grid item grid item grid item grid item grid item
+ grid item grid item grid item grid item grid item grid item grid item grid item grid item grid item
+ grid item grid item grid item grid item grid item grid item grid item grid item grid item grid item
+ </div>
+ </div>
+</body>
+</html>
« no previous file with comments | « no previous file | LayoutTests/fast/css-grid-layout/flex-content-sized-column-use-available-width-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698