OLD | NEW |
1 <!DOCTYPE HTML> | 1 <!DOCTYPE html> |
2 <html> | |
3 <style> | 2 <style> |
4 .test { | 3 .test { |
5 margin-top: 10px; | 4 margin-top: 10px; |
6 width: 40px; | 5 width: 40px; |
7 height:40px; | 6 height:40px; |
8 background-color: green; | 7 background-color: green; |
9 } | 8 } |
10 </style> | 9 </style> |
11 <body> | |
12 https://code.google.com/p/chromium/issues/detail?id=321295 | 10 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". | 11 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> | 12 <br> |
15 There should be no red below. | 13 There should be no red below. |
16 <div class="test"></div> | 14 <div class="test"></div> |
17 <div class="test"></div> | |
18 </body> | |
19 </html> | |
OLD | NEW |