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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 .container {
4 width: 100px;
5 border: 5px solid salmon;
6 overflow: hidden;
7 margin: 5px;
8 padding: 0;
9 }
10 .nowrap {
11 white-space: nowrap;
12 }
13 .min-width {
14 min-width: -webkit-min-content;
15 min-width: -moz-min-content;
16 min-width: -ie-min-content;
17 min-width: min-content;
18 }
19 .child {
20 float: left;
21 width: 100px;
22 height: 20px;
23 background-color: pink;
24 margin: 5px;
25 }
26 </style>
27
28 Tests that floated children of a white-space:nowrap element still wrap.
29
30 <div class="container min-width">
31 <input class="child">
32 <input class="child">
33 </div>
34
35 <div class="container">
36 <input class="child">
37 <input class="child">
38 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698