mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-27 11:19:36 +00:00
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.
12 lines
200 B
HTML
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>
|