Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-anchor-position/chrome-419501749-crash.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<style>
#crash {
position: absolute;
left: anchor(right);
--grad: linear-gradient(black, blue);
content: var(--grad);
}
</style>
<p>Pass if no crash</p>
<div id="crash"></div>