- From: gitspeaks via GitHub <sysbot+gh@w3.org>
- Date: Wed, 13 Nov 2024 19:49:17 +0000
- To: public-css-archive@w3.org
> No, it doesn't say that. CSS2 says "nearest block container ancestor box". Right, regardless, the containing block of a box could be somewhere up the chain once it becomes 'positioned.' >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. Great! So, in a grid formatting context, the containing block for grid items with position: ```static```, ```relative```, or ```sticky``` is their grid area. That settles it. As I've mentioned, I believe this needs to be explicitly mentioned because there is strong precedent (in flow layout) where a box's containing block can change once it becomes 'positioned.' This is not at all comparable to simply changing color: blue to color: red. In any case, I suggest we stop focusing on grid items, as it detracts from the broader requirement to explicitly define the containing block for position: static, relative, or sticky across all formatting contexts, ideally in one central location. -- GitHub Notification of comment by gitspeaks Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11196#issuecomment-2474616377 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:49:18 UTC