1
0
Fork 0
firefox/testing/web-platform/tests/css/css-cascade/scope-featureless.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

20 lines
459 B
HTML

<!DOCTYPE html>
<title>:scope Selector Cannot be Featureless Outside of @scope</title>
<link rel="help" href="https://drafts.csswg.org/css-cascade-6/#scoped-styles">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1904228">
<link rel="match" href="scope-featureless-ref.html">
<style>
:root {
background: white;
color: white;
}
:scope {
--font-color: black;
}
#dut {
color: var(--font-color);
}
</style>
<div id="dut">Test</div>