Re: [csswg-drafts] [css2][css-position] Static position needs to ignore floats (#9991)

The sentence that does the work here is

> 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.

-- 
GitHub Notification of comment by fantasai
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9991#issuecomment-2278889887 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 9 August 2024 23:53:57 UTC