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

Unified Diff: third_party/WebKit/LayoutTests/fast/css-grid-layout/repeating-layout-must-produce-the-same-results.html

Issue 2361373002: [css-grid] Clearing override sizes before running grid's layout logic. (Closed)
Patch Set: A new approach, just facing orthogonal flow issues. Created 4 years, 3 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/repeating-layout-must-produce-the-same-results.html
diff --git a/third_party/WebKit/LayoutTests/fast/css-grid-layout/repeating-layout-must-produce-the-same-results.html b/third_party/WebKit/LayoutTests/fast/css-grid-layout/repeating-layout-must-produce-the-same-results.html
new file mode 100644
index 0000000000000000000000000000000000000000..8ef83b44312f0b5569572bbeac5bbb7647bb3ddf
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/css-grid-layout/repeating-layout-must-produce-the-same-results.html
@@ -0,0 +1,37 @@
+<!DOCTYPE html>
+<link href="resources/grid.css" rel="stylesheet">
+<link href="../css-intrinsic-dimensions/resources/width-keyword-classes.css" rel="stylesheet">
+<style>
+body {
+ margin: 0;
+}
+.grid {
+ border: 5px solid;
+ width: fit-content;
+ grid-template-rows: 50px;
+ font: 25px/1 Ahem;
+}
+.i1 {
+ color: magenta;
+ background: cyan;
+ writing-mode: vertical-lr;
+}
+</style>
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+<script src="../../resources/check-layout-th.js"></script>
+<script>
+ function runTest() {
+ checkLayout('.grid');
+ document.body.offsetLeft;
+ checkLayout('.grid');
+ document.body.offsetLeft;
+ checkLayout('.grid');
+ }
+</script>
+<body onload="runTest();">
+<p>Regression test for bug 628565 - Ensure that we get the same sizing results when doing several layouts.</p>
+<div class="grid" data-expected-width="35" data-expected-height="60">
+ <div class="i1" data-expected-width="50" data-expected-height="50">XX X</div>
+</div>
+</body
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/FrameView.cpp » ('j') | third_party/WebKit/Source/core/frame/FrameView.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698