1
0
Fork 0
firefox/testing/web-platform/tests/custom-elements/pseudo-class-defined-print.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
428 B
HTML

<!doctype html>
<link rel="match" href="pseudo-class-defined-print-ref.html">
<style>
:root {
print-color-adjust: exact;
}
custom-element {
display: block;
width: 100px;
height: 100px;
background: green;
}
custom-element:not(:defined) {
background: red;
}
</style>
<custom-element></custom-element>
<script>
customElements.define("custom-element", class extends HTMLElement { });
</script>