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

Unified Diff: LayoutTests/fast/css-intrinsic-dimensions/nowrap-min-content-expected.html

Issue 17072005: Floated elements inside a white-space:nowrap container should still wrap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: now sans binary files. Created 7 years, 6 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/css-intrinsic-dimensions/nowrap-min-content-expected.html
diff --git a/LayoutTests/fast/css-intrinsic-dimensions/nowrap-min-content-expected.html b/LayoutTests/fast/css-intrinsic-dimensions/nowrap-min-content-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..327a90b23339f941affa0a56f6de787acc1a3e88
--- /dev/null
+++ b/LayoutTests/fast/css-intrinsic-dimensions/nowrap-min-content-expected.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<style>
+.container {
+ width: 100px;
+ border: 5px solid salmon;
+ overflow: hidden;
+ margin: 5px;
+ padding: 0;
+}
+.nowrap {
+ white-space: nowrap;
+}
+.min-width {
+ min-width: -webkit-min-content;
+ min-width: -moz-min-content;
+ min-width: -ie-min-content;
+ min-width: min-content;
+}
+.child {
+ float: left;
+ width: 100px;
+ height: 20px;
+ background-color: pink;
+ margin: 5px;
+}
+</style>
+
+Tests that floated children of a white-space:nowrap element still wrap.
+
+<div class="container min-width">
+ <input class="child">
+ <input class="child">
+</div>
+
+<div class="container">
+ <input class="child">
+ <input class="child">
+</div>

Powered by Google App Engine
This is Rietveld 408576698