| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <title>CSS Test: left float, inset + shape-margin, % units</title> | 4 <title>CSS Test: left float, inset + shape-margin, % units</title> |
| 5 <script src="../../../resources/ahem.js"></script> |
| 5 </head> | 6 </head> |
| 6 <style> | 7 <style> |
| 7 #container { | 8 #container { |
| 8 position: absolute; | 9 position: absolute; |
| 9 left: 25px; | 10 left: 25px; |
| 10 top: 50px; | 11 top: 50px; |
| 11 width: 200px; | 12 width: 200px; |
| 12 height: 200px; | 13 height: 200px; |
| 13 font-family: Ahem; | 14 font-family: Ahem; |
| 14 font-size: 20px; | 15 font-size: 20px; |
| (...skipping 19 matching lines...) Expand all Loading... |
| 34 </style> | 35 </style> |
| 35 <body> | 36 <body> |
| 36 <p>The test passes if there is a green square and no red.</p> | 37 <p>The test passes if there is a green square and no red.</p> |
| 37 <div id="container"> | 38 <div id="container"> |
| 38 <div id="test-shape"></div> | 39 <div id="test-shape"></div> |
| 39 XXXXXXXXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXXXXXXXX | 40 XXXXXXXXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXX XXXXXXXXXX |
| 40 </div> | 41 </div> |
| 41 <div id="static-shape"></div> | 42 <div id="static-shape"></div> |
| 42 </body> | 43 </body> |
| 43 </html> | 44 </html> |
| OLD | NEW |