| OLD | NEW |
| 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/st
rict.dtd"> | 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/st
rict.dtd"> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <title>CSS Test: Margin collapsing - bottom margin not collapse when cle
ared</title> | 4 <title>CSS Test: Margin collapsing - bottom margin not collapse when cle
ared</title> |
| 5 <script src="../../resources/ahem.js"></script> |
| 5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/"> | 6 <link rel="author" title="Microsoft" href="http://www.microsoft.com/"> |
| 6 <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#collapsing-ma
rgins"> | 7 <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#collapsing-ma
rgins"> |
| 7 <link rel="match" href="clearance-006-ref.htm"> | 8 <link rel="match" href="clearance-006-ref.htm"> |
| 8 | 9 |
| 9 <meta name="flags" content="ahem image"> | 10 <meta name="flags" content="ahem image"> |
| 10 <meta name="assert" content="When a last sibling has clearance, its own
margins collapse and it collapsed its margins with a subsequent sibling, the las
t sibling does not collapse its bottom margin with its parent's bottom margin."> | 11 <meta name="assert" content="When a last sibling has clearance, its own
margins collapse and it collapsed its margins with a subsequent sibling, the las
t sibling does not collapse its bottom margin with its parent's bottom margin."> |
| 11 <style type="text/css"> | 12 <style type="text/css"> |
| 12 div | 13 div |
| 13 { | 14 { |
| 14 font: 20px/1em Ahem; | 15 font: 20px/1em Ahem; |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 <p>Test passes if there is no red.</p> | 49 <p>Test passes if there is no red.</p> |
| 49 <div id="div1"> | 50 <div id="div1"> |
| 50 <div id="div2"> | 51 <div id="div2"> |
| 51 <div id="div3"></div> | 52 <div id="div3"></div> |
| 52 <div id="div4"></div> | 53 <div id="div4"></div> |
| 53 <div id="div5"></div> | 54 <div id="div5"></div> |
| 54 </div> | 55 </div> |
| 55 <div id="div6"></div> | 56 <div id="div6"></div> |
| 56 </div> | 57 </div> |
| 57 </body> | 58 </body> |
| 58 </html> | 59 </html> |
| OLD | NEW |