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

Unified Diff: third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-stretching-must-not-depend-on-previous-layouts.html

Issue 2919473002: [css-grid] Apply flow-aware logic for margins during stretching (Closed)
Patch Set: Created 3 years, 7 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: third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-stretching-must-not-depend-on-previous-layouts.html
diff --git a/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-stretching-must-not-depend-on-previous-layouts.html b/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-stretching-must-not-depend-on-previous-layouts.html
new file mode 100644
index 0000000000000000000000000000000000000000..16ec9a85c82b88f2e6f497e74954641b41b2c167
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-stretching-must-not-depend-on-previous-layouts.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<link rel="match" href="grid-item-stretching-must-not-depend-on-previous-layouts-expected.html">
+<style>
+.grid {
+ display: inline-grid;
+ border: solid thick;
+ grid: 100px / 100px;
+ align-items: start;
+}
+.item {
+ background: magenta;
+ writing-mode: vertical-lr;
+ margin-right: 25px;
+}
+</style>
+<p>Check whether stretching logic is not affected by multiple layouts becuase of the grid item's override height.<br>The test passes if there is a margin-right of 25px.</p>
+<div class="grid">
+ <div class="item">item</div>
+</div>

Powered by Google App Engine
This is Rietveld 408576698