Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / uri / css-href.php
bloba93aa003c6753df7d1b5152e4d70803db8977eed
1 <html>
2 <head>
3 <base href="<?php echo 'http://' . $_SERVER['HTTP_HOST'] . '/uri/resources/'; ?>">
4 <style>
5 @import 'css-href.css';
6 </style>
7 </head>
8 <body>
9 <p>Test for <a href="http://bugs.webkit.org/show_bug.cgi?id=11141">bug 11141</a>:
10 CSS '@import' doesn't respect HTML Base element.</p>
11 <p class="c1">This text should be green.</p>
12 <p>If it is red, the css has been loaded relative to the document.
13 If it is black, no stylesheet has been rendered, if it is rendered green,
14 the stylesheet has been rendered correctly from the HREF attribute of the
15 Base element in the HEAD section of this document.</p>
16 <p class="c2">This text should also be green.</p>
17 </body>
18 </html>