Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / block / float / 026.html
blob2517aef8abfe338c1bcac8709698bd4fe8635e3c
1 <html>
2 <head>
3 <style>
4 body {
5 direction: rtl;
8 .float {
9 width:200px;
10 height:200px;
11 background-color:red;
12 float:right;
15 .container {
16 height:200px;
19 .pct { width:50%; }
21 table { border:2px solid green; }
23 img { display: block; height:50px; background-color: green }
25 .overflow { border:2px solid blue; overflow:scroll }
26 </style>
27 </head>
29 <body>
31 <div class="container">
32 <div class="float"></div>
33 <table>
34 <tr><td>This is a table. It should sit on the same line as the float and wrap as needed to fit
35 within the remaining line width.
36 </table>
37 </div>
39 <div class="container">
40 <div class="float"></div>
41 <div class="overflow">
42 This is an overflow:scroll region. It should sit on the same line as the float and wrap as needed to fit
43 within the remaining line width.
44 </div>
45 </div>
47 <div class="container">
48 <div class="float"></div>
49 <hr>
50 </div>
52 <div class="container">
53 <div class="float"></div>
54 <table class="pct">
55 <tr><td>This is a table. It should sit on the same line as the float and wrap as needed to fit
56 within the remaining line width.
57 </table>
58 </div>
60 <div class="container">
61 <div class="float"></div>
62 <div class="overflow pct">
63 This is an overflow:scroll region. It should sit on the same line as the float and wrap as needed to fit
64 within the remaining line width.
65 </div>
66 </div>
68 <div class="container">
69 <div class="float"></div>
70 <hr class="pct" align=right>
71 </div>
73 <div class="container">
74 <div class="float"></div>
75 <img class="pct">
76 </div>
78 </div>