OLD | NEW |
| (Empty) |
1 <!DOCTYPE html> | |
2 <html> | |
3 <head> | |
4 <style id='stylesheet'> | |
5 div { | |
6 font: 50px/1 Ahem, sans-serif; | |
7 color: green; | |
8 } | |
9 .shape-inside1 { | |
10 width: 200px; | |
11 height: 200px; | |
12 border: 1px solid blue; | |
13 } | |
14 </style> | |
15 <script src='../resources/simple-rectangle.js'></script> | |
16 <script> | |
17 window.onload = function() { | |
18 createRectangleTestResult('shape-inside2', 'stylesheet', { width: 200, h
eight: 200 }, { x: 50, y: 50, width: 100, height: 100 }, 'px'); | |
19 }; | |
20 </script> | |
21 </head> | |
22 <body> | |
23 <p>This test requires the Ahem font. It tests that the value 'outside-shape' cor
rectly propagates the shape-outside value to shape-inside.</p> | |
24 <div id='shape-inside1'>xxxx</div> | |
25 <div id='shape-inside2'>xxxx</div> | |
26 </body> | |
27 </html> | |
OLD | NEW |