| OLD | NEW |
| 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <title>CSS 2.1 Test Suite: font-size</title> | 4 <title>CSS 2.1 Test Suite: font-size</title> |
| 5 <script src="../resources/ahem.js"></script> |
| 5 <style type="text/css"> | 6 <style type="text/css"> |
| 6 .j { font-size: 3em; color: navy; font-family: Ahem; } | 7 .j { font-size: 3em; color: navy; font-family: Ahem; } |
| 7 .a { font-size: 1em; } | 8 .a { font-size: 1em; } |
| 8 .b { font-size: 1em; font-size: -0.5in; } | 9 .b { font-size: 1em; font-size: -0.5in; } |
| 9 .j p { margin: 10px 30px; } | 10 .j p { margin: 10px 30px; } |
| 10 </style> | 11 </style> |
| 11 <link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#font-size-props"
title="15.7 Font size: the 'font-size' property"> | 12 <link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#font-size-props"
title="15.7 Font size: the 'font-size' property"> |
| 12 </head> | 13 </head> |
| 13 <body> | 14 <body> |
| 14 <p>The two boxes below should be the same size.</p> | 15 <p>The two boxes below should be the same size.</p> |
| 15 <div class="j"> | 16 <div class="j"> |
| 16 <p class="a"> x </p> | 17 <p class="a"> x </p> |
| 17 <p class="b"> x </p> | 18 <p class="b"> x </p> |
| 18 </div> | 19 </div> |
| 19 </body> | 20 </body> |
| 20 </html> | 21 </html> |
| OLD | NEW |