You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[css2][css-position] Static position needs to ignore floats #9991
The static position for left is the distance from the left edge of the containing block to the left margin edge of a hypothetical box that would have been the first box of the element if its position property had been static and float had been none.
When both inset properties in a given axis are auto, they are resolved into a static position by aligning the box into its static-position rectangle
The static-position rectangle for block boxes ignores floats.
The static-position rectangle is a zero-thickness rectangle spanning between the inline-axis sides of the box’s static-position containing block
Possibly there needs to be more explanation of how this alignment into the staticpos rectangle happens, but I think the spec is not incorrect about the interaction with floats here.
Activity
Loirooriol commentedon Feb 25, 2024
BTW, this is just if the original
displayhas ablockouter display value.inlinedoesn't ignore the float.fantasai commentedon Aug 9, 2024
The sentence that does the work here is
The static-position rectangle for block boxes ignores floats.
Possibly there needs to be more explanation of how this alignment into the staticpos rectangle happens, but I think the spec is not incorrect about the interaction with floats here.