OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <style> |
| 3 @font-face { |
| 4 font-family: face; |
| 5 src: local('Ahem'); |
| 6 } |
| 7 .image { |
| 8 background-image: url('../resources/square100.png'); |
| 9 } |
| 10 </style> |
| 11 |
| 12 <p>This page tests whether the referrer of css resources are set to the URL of t
he stylesheet.</p> |
| 13 |
| 14 <p>Following text should be rendered with ahem font.</p> |
| 15 |
| 16 <div style="font-family: face;"> |
| 17 Text for webfont defined in document. |
| 18 </div> |
| 19 <div style="font-family: face;"> |
| 20 Text for webfont defined in stylesheet. |
| 21 </div> |
| 22 <div style="font-family: face;"> |
| 23 Text for webfont defined in imported stylesheet. |
| 24 </div> |
| 25 |
| 26 <p>Background image of following text should be dark blue.</p> |
| 27 |
| 28 <div class="image">Image in document</div> |
| 29 <div class="image">Image in stylesheet</div> |
| 30 <div class="image">Image in imported stylesheet</div> |
| 31 |
| 32 <div class="image">Image set in document</div> |
| 33 <div class="image">Image set in stylesheet</div> |
| 34 <div class="image">Image set in imported stylesheet</div> |
OLD | NEW |