OLD | NEW |
1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
2 <html> | 2 <html> |
3 <style> | 3 <style> |
4 .test { | 4 .test { |
5 margin-top: 10px; | 5 margin-top: 10px; |
6 width: 40px; | 6 width: 40px; |
7 height:40px; | 7 height:40px; |
8 background-color: green; | 8 background-color: green; |
9 } | 9 } |
10 </style> | 10 </style> |
11 <body> | 11 <body> |
12 https://code.google.com/p/chromium/issues/detail?id=321295 | 12 https://code.google.com/p/chromium/issues/detail?id=321295 |
13 The top and bottom margins of a box collapse together only if they are the "top
and bottom margins of a box that does not establish a new block formatting cont
ext". | 13 The top and bottom margins of a box collapse together only if they are the "top
and bottom margins of a box that does not establish a new block formatting cont
ext". |
14 <br> | 14 <br> |
15 There should be no red below. | 15 There should be no red below. |
16 <div class="test"></div> | 16 <div class="test"></div> |
17 <div class="test"></div> | 17 <div class="test"></div> |
18 <div class="test"></div> | 18 <div class="test"></div> |
19 <div class="test"></div> | 19 <div class="test"></div> |
20 <div class="test"></div> | |
21 </body> | 20 </body> |
22 </html> | 21 </html> |
OLD | NEW |