- From: gitspeaks via GitHub <sysbot+gh@w3.org>
- Date: Wed, 13 Nov 2024 18:08:11 +0000
- To: public-css-archive@w3.org
>You mean in CSS2? CSS Position takes precedence, and defers to the relevant specs like CSS Grid and so on. Well, that's ultimately up to the CSS spec editors to decide. All I can say is that the [CSS2 spec](https://www.w3.org/TR/CSS2/visudet.html#containing-block-details) for this issue lacks the details found in [MDN documentation](https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block) regarding table containers, flex containers, and grid containers and does not mention ```position: sticky```. The [current spec](https://www.w3.org/TR/css-position-3/#def-cb) defers the answer to the 'formatting context,' which is not very informative. The [flex spec](https://www.w3.org/TR/css-flexbox-1/#flex-containers) defines a flex container as forming a containing block exactly like block containers by linking to the [CSS2 containing block spec](https://www.w3.org/TR/CSS2/visudet.html#containing-block-details) , which suggests that the containing block for positioned boxes with position of ```static``` or ```relative``` in a flex container is the content edge of the flex container. I haven’t found anything in the Grid spec addressing ```static```, ```relative``` or ```sticky``` positioned boxes (perhaps such boxes don’t apply there). -- GitHub Notification of comment by gitspeaks Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11196#issuecomment-2474375065 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 18:08:11 UTC