Files
sousa-gecko/testing/web-platform/tests/css/css-values/inline-cache-base-uri-ref.html
T
Emilio Cobos Álvarez f96a8e0cdd Bug 1978217 - Add a test for relative URIs inside cacheable inline stylesheets. r=firefox-style-system-reviewers,layout-reviewers,dshin
This tests both @import and regular declarations. Without this fix, the test
page renders blue, rather than a blue background with a purple square inside
and a smaller lime square inside.

Differential Revision: https://phabricator.services.mozilla.com/D258293
2025-07-23 01:35:31 +00:00

25 lines
439 B
HTML

<!doctype html>
<meta charset="utf-8">
<title>CSS test reference</title>
<style>
:root {
background-image: url("/images/blue.png");
}
.frame {
box-sizing: border-box;
width: 100px;
height: 100px;
background-color: purple;
padding: 8px; /* Matches default body margin */
}
.frame > div {
width: 50px;
height: 50px;
background-color: lime;
}
</style>
<div class="frame">
<div></div>
</div>