[csswg-drafts] [css-overflow-5] Enforce layout containment on ::scroll-marker-group (#11708)

flackr has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-overflow-5] Enforce layout containment on ::scroll-marker-group ==
Currently the spec only recommends size containment on the `::scroll-marker-group` however, without layout containment there are some potentially complex edge cases which will add implementation complexity, as called out by @mstensho
 at https://github.com/flackr/carousel/issues/31.

E.g.
* `position: absolute` could on the `::scroll-marker` could result in it being contained by an arbitrary ancestor.
* Floats could add additional complications

I propose we add layout containment to the recommended enforced containment on the `::scroll-marker-group` (regardless of whether it is in flow / out of flow positioned), there don't seem to be use cases that it limits and this avoids significant complexity.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11708 using your GitHub account


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

Received on Friday, 14 February 2025 16:23:31 UTC