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/anchor-size-in-flex-basis-crash.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>CSS Anchor Positioning: Crash with anchor functions flex-basis</title>
<style>
#dut1 {
display: flex;
}
#dut2 {
flex-basis: anchor-size(--a width, 10px);
}
#dut3 {
flex-basis: auto;
width: anchor-size(--a width, 10px);
}
</style>
<div id=dut1>
<div id=dut2></div>
<div id=dut3></div>
</div>