OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <style> | 3 <style> |
4 .one | 4 .one |
5 { | 5 { |
6 display: inline-block; | 6 display: inline-block; |
7 height: 200px; | 7 height: 200px; |
8 width:100px; | 8 width:100px; |
9 overflow:auto; | 9 overflow:auto; |
10 border: 2px solid purple; | 10 border: 2px solid purple; |
11 } | 11 } |
12 | 12 |
13 .two | 13 .two |
14 { | 14 { |
15 display: inline-block; | 15 display: inline-block; |
16 height:400px; | 16 height:400px; |
17 width:200px; | 17 width:200px; |
18 overflow:auto; | 18 overflow:auto; |
19 border:2px solid black; | 19 border:2px solid black; |
20 } | 20 } |
21 </style> | 21 </style> |
22 </head> | 22 </head> |
23 <body> | 23 <body> |
24 It is not clear what the right behavior is here. The CSS2.1 draft is currently a
mbiguous about how to handle overflow blocks.<br> | |
25 | 24 |
26 <div class="one"> | 25 <div class="one"> |
27 This is some text.<br> | 26 This is some text.<br> |
28 This is some text.<br> | 27 This is some text.<br> |
29 This is some text.<br> | 28 This is some text.<br> |
30 This is some text.<br> | 29 This is some text.<br> |
31 This is some text.<br> | 30 This is some text.<br> |
32 This is some text.<br> | 31 This is some text.<br> |
33 This is some text.<br> | 32 This is some text.<br> |
34 This is some text.<br> | 33 This is some text.<br> |
(...skipping 14 matching lines...) Expand all Loading... |
49 This is some text.<br> | 48 This is some text.<br> |
50 This is some text.<br> | 49 This is some text.<br> |
51 This is some text.<br> | 50 This is some text.<br> |
52 This is some text.<br> | 51 This is some text.<br> |
53 This is some text.<br> | 52 This is some text.<br> |
54 This is some text.<br> | 53 This is some text.<br> |
55 This is some text.<br> | 54 This is some text.<br> |
56 </div> | 55 </div> |
57 </body> | 56 </body> |
58 </html> | 57 </html> |
OLD | NEW |