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

Unified Diff: third_party/WebKit/LayoutTests/css3/flexbox/bug646288.html

Issue 2342663002: [css-flexbox] Fix size comparison when scrollbars are present (Closed)
Patch Set: add test 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutFlexibleBox.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/css3/flexbox/bug646288.html
diff --git a/third_party/WebKit/LayoutTests/css3/flexbox/bug646288.html b/third_party/WebKit/LayoutTests/css3/flexbox/bug646288.html
new file mode 100644
index 0000000000000000000000000000000000000000..cf8d274e92f6bdd163a1144f10625bd59525e7ce
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/css3/flexbox/bug646288.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<style>
+body { width: 800px; }
+
+* { min-width: 0; min-height: 0; }
+
+#list-wrapper {
+ display: flex;
+ flex-direction: column;
+}
+
+#player-list-wrapper {
+ flex-grow: 1;
+ overflow: auto;
+}
+</style>
+
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+<script src="../../resources/check-layout-th.js"></script>
+
+<p>Tests that there's no vertical scrollbar for this content</p>
+
+<body onload="checkLayout('#list-wrapper')">
+ <div id="list-wrapper" data-expected-width="800">
+ <div id="player-list-wrapper" data-expected-width="800">
+ <div data-expected-width="800">http://www.ispeech.org/p/generic/getaudio?text=http%3A%2F%2Fwww.ispeech.org%2Ftext.to.speech%3Flink%3Dhttp%253A%252F%252Fwww.ispeech.org%252Ftext.to.speech%253Fvoice%253Dusenglishfemale%2526action%253Dconvert%2526speed%253D0%2526text%253DType%252520some%252520text%252520and%252520click%252520play%2C&amp;voice=usenglishfemale&amp;speed=0&amp;action=convert</div>
+ </div>
+ </div>
+
+</body>
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutFlexibleBox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698