| <!DOCTYPE html> |
| <style> |
| @font-face { |
| font-family: face; |
| src: local('Ahem'); |
| } |
| .image { |
| background-image: url('../resources/square100.png'); |
| } |
| </style> |
| |
| <p>This page tests whether the referrer of css resources are set to the URL of the stylesheet.</p> |
| |
| <p>Following text should be rendered with ahem font.</p> |
| |
| <div style="font-family: face;"> |
| Text for webfont defined in document. |
| </div> |
| <div style="font-family: face;"> |
| Text for webfont defined in stylesheet. |
| </div> |
| <div style="font-family: face;"> |
| Text for webfont defined in imported stylesheet. |
| </div> |
| |
| <p>Background image of following text should be dark blue.</p> |
| |
| <div class="image">Image in document</div> |
| <div class="image">Image in stylesheet</div> |
| <div class="image">Image in imported stylesheet</div> |
| |
| <div class="image">Image set in document</div> |
| <div class="image">Image set in stylesheet</div> |
| <div class="image">Image set in imported stylesheet</div> |