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/position-try-fallbacks-crash.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<meta charset="utf-8">
<style>
.abs-cb {
position: relative;
width: 0;
height: 0;
}
[abs] {
position: absolute;
position-anchor: auto;
}
.c {
width: 1px;
height: 1px;
margin-right: anchor-size(width);
position-try-fallbacks: top left, --position-fallback_1, flip-x;
}
</style>
<div class=abs-cb>
<div id=d class=c abs=""></div>
</div>