Re: [csswg-drafts] [css-display-3] Specify what edge forms the containing block for relative, static and sticky positioned boxes (#11196)

> The question is simple

Again, the containing block for all grid items is their grid area. It doesn't matter if they have `position: relative`, `color: magenta` or `text-decoration: underline`.

> In flow layout ...

Irrelevant for grid items

> ... the spec states that for a relatively positioned box, the containing block is the first positioned ancestor

No, it doesn't say that. CSS2 says "nearest block container ancestor box".


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


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

Received on Wednesday, 13 November 2024 19:23:12 UTC