[csswg-drafts] [css-overflow] Clarify the contribution of untransformed direct descendant box (#12113)

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

== [css-overflow] Clarify the contribution of untransformed direct descendant box ==
The current implementations of scrollable overflow seems to be quite quirky and specific in terms of direct descendant contribution. Where it would consider the untransformed box of direct descendant, As shown in this [example](https://jsfiddle.net/8dq6Lvbc/). With the untransformed box of non-direct descendant being omitted, shown by this [example](https://jsfiddle.net/rtykg9bL/). Meanwhile, the scrollable overflow implementations is ignoring the untransformed box in case the box is absolute positioned while the parent element established absolute positioned containing block, shown [here](https://jsfiddle.net/dLstjh1g/). 

This quite particular behavior however, is not specifically defined or mentioned in [scrollable overflow definition](https://drafts.csswg.org/css-overflow/#scrollable-overflow-region). I believe it would be good to have a consistent behavior for this case, maybe omitting the untransformed box since scrollable overflow are supposed to show till the farthest corner of descendant anyway. Or, an additional explanation for these behavior. 

cc: @xiaochengh @Loirooriol

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


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

Received on Wednesday, 23 April 2025 09:41:46 UTC