[css-anchor-position-1][css-position] behavior of position-area when no anchor is defined #10500
Labels
Closed as Question Answered
Used when the issue is more of a question than a problem, and it's been answered.
css-anchor-position-1
I just tried the below code:
And to my surprise, it center the absolute element. Demo: https://codepen.io/t_afif/pen/OJYwybK
Based on the Specification the propety applies to "positioned elements with a default anchor element". Does it mean that any positioned element has a default anchor which is its containing block?
If it's the correct behavior, I think the Spec should clarify the "default anchor" part. Or maybe this is a bug and
inset-area
should have no effect?The text was updated successfully, but these errors were encountered: