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/variable-invalid-recovery.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>CSS Test: Error recovery after an invalid reference in an unparsed declaration.</title>
<link rel="match" href="support/color-green-ref.html">
<style>
p {
color: red;
transform: scale(var(--#invalid));
}
p {
color: green;
}
</style>
<p>This text must be green.</p>