- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Thu, 15 Sep 2022 18:57:53 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `Not clamping baseline position when scrollable overflow gives weird results`, and agreed to the following: * `RESOLVED: baselines of a scrollable container should be clamped to the scrollable area` <details><summary>The full IRC log of that discussion</summary> <Rossen_> Topic: Not clamping baseline position when scrollable overflow gives weird results<br> <Rossen_> github: https://github.com/w3c/csswg-drafts/issues/7660<br> <fremy> fantasai: sorry, inline-flex not inline-block<br> <fremy> fantasai: the issue is that the text is bigger than the box itself<br> <fremy> fantasai: so, the reste of the text is aligned to a line that is beyond the box itself<br> <fremy> fantasai: which doesn't make much sense<br> <fremy> fantasai: the proposal is to clamp the baseline to the border box<br> <fremy> Rossen_: do we also do this in the other direction?<br> <fremy> fantasai: good point, we probably should do it in this direction as well<br> <fremy> asterns: what is the effect that this would do?<br> <florian> q+<br> <fremy> Rossen_: align "text" to the bottom of the scrollable box<br> <Rossen_> ack florian<br> <fremy> dbaron: this would be based based on the initial scroll position?<br> <fremy> fantasai: yes<br> <fremy> florian: what about overflow: clip?<br> <fremy> TabAtkins: probably the same?<br> <fremy> iank_: well<br> <emilio> q+<br> <fremy> iank_: probably we don't want that because we resolved that overflow:clip should not have any effect on the layout<br> <emilio> q-<br> <fremy> iank_: there is already some margin clipping anyway<br> <fremy> dbaron: I agree, clip should not apply<br> <emilio> +1 to dbaron :)<br> <emeyer> q+<br> <fremy> emilio: I concur as well<br> <fremy> TabAtkins: currently, the reverse issue exists<br> <dbaron> s/clip should not apply/overflow:clip should not do anything different because overflow:clip shouldn't influence layout/<br> <Rossen_> ack emeyer<br> <heycam> q+<br> <fremy> rob: am I correct that the baseline can not be above or beyond the scrollable area?<br> <fremy> fantasai: yes, correct<br> <fremy> rob: then, sure, no objection<br> <fantasai> s/rob/emeyer/<br> <fantasai> s/rob/emeyer/<br> <Rossen_> q<br> <heycam> q-<br> <fremy> dholbert: the correct rendering would be that the border would align with the text<br> <fremy> dholbert: but we don't want to do that, right?<br> <iank_> q+<br> <fremy> Rossen_: yes, otherwise we would need to take a dependency on the font size etc...<br> <fremy> Rossen_: so, the proposed resolution is to clamp the baseline<br> <fremy> Rossen_: any other comment?<br> <dholbert> clarifying my question: I was asking if the border-top of the scrollable thing would align with the baseline of the text. And the answer was yes, it would<br> <dholbert> (in the "reverse scenario")<br> <fremy> iank_: can we keep last-baseline separated from this?<br> <fantasai> s/keep/keep inline-block/<br> <fremy> iank_: I don't want to change the margin behavior yet<br> <Rossen_> ack iank_<br> <fremy> TabAtkins: I'm fine with this for now<br> <fremy> Rossen_: any objection?<br> <fremy> RESOLVED: baselines of a scrollable container should be clamped to the scrollable area<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7660#issuecomment-1248485375 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 15 September 2022 18:57:55 UTC