OLD | NEW |
| (Empty) |
1 <!DOCTYPE html> | |
2 <html> | |
3 <head> | |
4 <style> | |
5 #image-shape { | |
6 font: 50px/150px Ahem, sans-serif; | |
7 color: green; | |
8 width: 250px; | |
9 height: 350px; | |
10 shape-inside: url("../resources/svg-shape-001.svg"); | |
11 background-image: url("../resources/svg-shape-001.svg"); | |
12 background-repeat: no-repeat; | |
13 } | |
14 </style> | |
15 <body> | |
16 <p id="informative-text"> | |
17 This test requires the Ahem font. It uses svg-shape-001.svg to define a shap
e-inside. | |
18 If the first-fit algorithm is working correctly, the single green 50x50 char
should | |
19 appear in the center of the blue background shape, which is defined by the s
ame SVG.</p> | |
20 | |
21 <div id="image-shape">X</div> | |
22 </body> | |
23 </html> | |
OLD | NEW |