mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 02:05:07 +02:00
23 lines
510 B
HTML
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>
|