Closed
Description
Consider an element inside a 100x100 containing block:
.abspos {
position: absolute;
position-anchor: --foo;
inset: 20px;
place-self: anchor-center;
size: 8px;
}
Suppose the anchor is positioned at 20px from the left. Centering it against the anchor would place its left edge at 16px, but the inset is 20px. What should happen here?
This question came up in web-platform-tests/interop#945
My interpretation is that the default overflow rules should only allow the item to overflow its insets if it doesn't fit within its inset-modified containing block. Ian's was that anchor-center simply ignores the insets always. What do we think is the right behavior?
Metadata
Metadata
Assignees
Type
Projects
Status
Thursday Afternoon