1
0
Fork 0
firefox/testing/web-platform/mozilla/tests/css/css-images/image-light-dark.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

18 lines
574 B
HTML

<!doctype html>
<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/10577">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1966890">
<link rel="match" href="image-light-dark-ref.html">
<style>
div:empty {
width: 100px;
height: 100px;
background-image: light-dark(
url("/images/green.png"),
url("/images/red.png")
);
}
</style>
<div style="color-scheme: dark"></div>
<div style="color-scheme: light"></div>
<div style="color-scheme: dark"><div></div></div>
<div style="color-scheme: light"><div></div></div>