Files
ladybird/Tests/LibWeb/Text/input/css/asf-disallowed-in-property-initial-value.html
2026-03-30 19:57:36 +01:00

23 lines
510 B
HTML

<!doctype html>
<style>
@property --foo {
syntax: "*";
inherits: true;
initial-value: var(foo);
}
@property --bar {
syntax: "*";
inherits: true;
initial-value: var(!this-does-not-match-argument-grammar);
}
</style>
<div id="target"></div>
<script src="../include.js"></script>
<script>
test(() => {
println(document.styleSheets[0].cssRules[0].cssText);
println(document.styleSheets[0].cssRules[1].cssText);
});
</script>