| OLD | NEW |
| 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/x
html1/DTD/xhtml1-strict.dtd"> | 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/x
html1/DTD/xhtml1-strict.dtd"> |
| 2 <html xmlns="http://www.w3.org/1999/xhtml"> | 2 <html xmlns="http://www.w3.org/1999/xhtml"> |
| 3 <head> | 3 <head> |
| 4 <title>CSS Test: Inheritance of em units</title> | 4 <title>CSS Test: Inheritance of em units</title> |
| 5 <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/> | 5 <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/> |
| 6 <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/Browse
rBugsSection/css21testsuite/" /> <!-- 2012-04-14 --> | 6 <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/Browse
rBugsSection/css21testsuite/" /> <!-- 2012-04-14 --> |
| 7 <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/fonts/line-hei
ght/005.html" type="text/html"/> | 7 <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/fonts/line-hei
ght/005.html" type="text/html"/> |
| 8 <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#line-height" /> | 8 <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#line-height" /> |
| 9 <link rel="match" href="line-height-125-ref.xht" /> | 9 <link rel="match" href="line-height-125-ref.xht" /> |
| 10 | 10 |
| 11 <style type="text/css"> | 11 <style type="text/css"> |
| 12 .fontsize { font-size: 10px; } | 12 .fontsize { font-size: 10px; } |
| 13 .lineheight { line-height: 1em; } | 13 .lineheight { line-height: 1em; } |
| 14 .test { font-size: 50px; width: 200px; padding-top: 10px; } | 14 .test { font-size: 50px; width: 200px; padding-top: 10px; } |
| 15 .fail { color: red; } | 15 .fail { color: red; } |
| 16 .pass { color: white; background: green; padding-top: 10px; } | 16 .pass { color: white; background: green; padding-top: 10px; } |
| 17 </style> | 17 </style> |
| 18 </head> | 18 </head> |
| 19 <body> | 19 <body> |
| 20 <p>There should be one word on the line below, clearly saying "pass".</p> | 20 <p>There should be one word on the line below, clearly saying "pass".</p> |
| 21 <div class="fontsize"> | 21 <div class="fontsize"> |
| 22 <div class="lineheight"> | 22 <div class="lineheight"> |
| 23 <div class="test"><span class="fail">FAIL</span> <span class="pass">PASS</sp
an></div> | 23 <div class="test"><span class="fail">FAIL</span> <span class="pass">PASS</sp
an></div> |
| 24 </div> | 24 </div> |
| 25 </div> | 25 </div> |
| 26 </body> | 26 </body> |
| 27 </html> | 27 </html> |
| OLD | NEW |