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

Unified Diff: LayoutTests/fast/flexbox/inline-flexbox-wrap-vertically-width-calculation.html

Issue 289903007: Inline flexbox width is wrongly calculated when wrapping vertically (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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: LayoutTests/fast/flexbox/inline-flexbox-wrap-vertically-width-calculation.html
diff --git a/LayoutTests/fast/flexbox/inline-flexbox-wrap-vertically-width-calculation.html b/LayoutTests/fast/flexbox/inline-flexbox-wrap-vertically-width-calculation.html
new file mode 100644
index 0000000000000000000000000000000000000000..87f86f10adc2a276a0e7406d86f4cd1c34114b72
--- /dev/null
+++ b/LayoutTests/fast/flexbox/inline-flexbox-wrap-vertically-width-calculation.html
@@ -0,0 +1,13 @@
+<!doctype html>
+<html>
+<head>
+<script src="../../resources/check-layout.js"></script>
+</head>
+<body onload="checkLayout('#container')">
+<h4>Test for inline flexbox width calculation when wrap vertically</h4>
+<div id="container" style="display: inline-flex; flex-direction: column; flex-wrap: wrap; border: 1px solid black;" data-expected-width=34>
+<div style="width: 20px; border: 1px solid red;">a</div>
tony 2014/05/19 16:17:21 Please include position (data-offset-y and data-of
harpreet.sk 2014/07/18 15:46:48 Done.
+<div style="width: 30px; border: 1px solid red;">b</div>
+</div>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698