ladybird/Tests/LibWeb/Text/input/css/custom-property-unset-on-root.html
Sam Atkins b3abbeab89 LibWeb/CSS: Support inherit custom properties on :root
Make sure we have a parent element before trying to look at it!

I've also pulled out a stub function for getting a custom property's
initial value, so that there's only one place to change once we support
`@property` more.
2025-07-15 10:36:08 +02:00

12 lines
200 B
HTML

<!DOCTYPE html>
<style>
:root {
--example: unset;
}
</style>
<script src="../include.js"></script>
<script>
test(() => {
println("PASS! (Didn't crash)");
});
</script>