mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 17:10:23 +00:00
1f9d76c7b8
This replicates the behavior of StyleSheetList::add_sheet, making sure the rules added by the imported style sheet are applied.
19 lines
599 B
HTML
19 lines
599 B
HTML
<html>
|
|
<head>
|
|
<title>@import test</title>
|
|
<style>
|
|
@import "css-import-1.css";
|
|
@import url("css-import-2.css");
|
|
@import url(css-import-3.css);
|
|
@import "css-import-relative/css-import-4a.css";
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div>
|
|
<p class="first">If this is green, <code>@import "string";</code> works!</p>
|
|
<p class="second">If this is green, <code>@import url("string");</code> works!</p>
|
|
<p class="third">If this is green, <code>@import url(unquoted-string);</code> works!</p>
|
|
<p class="fourth">If this is green, relative <code>@import</code> resolves correctly!</p>
|
|
</div>
|
|
</body>
|
|
</html>
|