With the dependent bugs closed, this fix is trivial. Differential Revision: https://phabricator.services.mozilla.com/D269944
15 lines
446 B
HTML
15 lines
446 B
HTML
<!doctype html>
|
|
<title>Relative URI in potentially-cached stylesheet</title>
|
|
<link rel="help" href="https://drafts.csswg.org/css-values-4/#relative-urls">
|
|
<link rel="match" href="inline-cache-base-uri-cssom-ref.html">
|
|
<style>
|
|
:root { background-color: red; }
|
|
</style>
|
|
<base href="/images/">
|
|
<style>
|
|
:root { background-color: red; }
|
|
</style>
|
|
<script>
|
|
document.styleSheets[1].insertRule(`:root { background-image: url(green.png) }`);
|
|
</script>
|