Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-variables/url-syntax-crash.html - WPT Dashboard Interop Dashboard
<!doctype html>
<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>