1
0
Fork 0
firefox/testing/web-platform/tests/css/css-variables/url-syntax-crash.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

23 lines
428 B
HTML

<!doctype html>
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1935471">
<style>
@property --my-url {
syntax: "<url> | none";
inherits: true;
initial-value: none;
}
:root {
--my-url: url(blah);
}
* {
--foo: var(--my-url);
}
</style>
<body>
<script>
// Get some styling off-thread.
for (let i = 0; i < 10000; ++i) {
document.body.appendChild(document.createElement("span"));
}
</script>