| 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: Empty line box influence</title> | 4 <title>CSS Test: Empty line box influence</title> |
| 5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/"> | 5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/"> |
| 6 <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#propdef-l
ine-height"> | 6 <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#propdef-l
ine-height"> |
| 7 <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#leading"> | 7 <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#leading"> |
| 8 <meta name="flags" content="ahem"> | 8 <meta name="flags" content="ahem"> |
| 9 <script src="../../resources/ahem.js"></script> |
| 9 <meta name="assert" content="Empty inline elements still influence calcu
lation just like elements with content."> | 10 <meta name="assert" content="Empty inline elements still influence calcu
lation just like elements with content."> |
| 10 <style type="text/css"> | 11 <style type="text/css"> |
| 11 div, span | 12 div, span |
| 12 { | 13 { |
| 13 font: 1in/1em Ahem; | 14 font: 1in/1em Ahem; |
| 14 } | 15 } |
| 15 #div1 | 16 #div1 |
| 16 { | 17 { |
| 17 margin-top: 1in; | 18 margin-top: 1in; |
| 18 } | 19 } |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 <div id="div1"> | 57 <div id="div1"> |
| 57 <div id="div2"> | 58 <div id="div2"> |
| 58 <span></span> | 59 <span></span> |
| 59 </div> | 60 </div> |
| 60 <div id="div3"> | 61 <div id="div3"> |
| 61 <div></div> | 62 <div></div> |
| 62 </div> | 63 </div> |
| 63 </div> | 64 </div> |
| 64 </body> | 65 </body> |
| 65 </html> | 66 </html> |
| OLD | NEW |