W3C home > Mailing lists > Public > public-css-archive@w3.org > November 2016

[csswg-drafts] [css2][css-align] Last Baseline Alignment of Scrollable Boxes

From: fantasai via GitHub <sysbot+gh@w3.org>
Date: Sat, 26 Nov 2016 00:27:46 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-191777883-1480120065-sysbot+gh@w3.org>
fantasai has just created a new issue for 
https://github.com/w3c/csswg-drafts:

== [css2][css-align] Last Baseline Alignment of Scrollable Boxes ==
CSS Align had this sentence, which has been sitting around for awhile:

> For the purposes of finding the first (last) baselines of a box, it 
and all its in-flow descendants with a scrolling mechanism (see the 
'overflow' property) must be considered as if scrolled to their origin
 (final) position.

CSS2.1 had this sentence:

> The baseline of an 'inline-block' is the baseline of its last line 
box in the normal flow, unless it has either no in-flow line boxes or 
if its 'overflow' property has a computed value other than 'visible', 
in which case the baseline is the bottom margin edge.

Myles raised an issue against CSS2.1 
https://lists.w3.org/Archives/Public/www-style/2015Mar/0342.html 
requesting a change to make `overflow` have a less dramatic effect 
baseline alignment. which the CSSWG later accepted 
https://lists.w3.org/Archives/Public/www-style/2015Apr/0144.html

I'm reraising this issue because I think the wording in CSS Box 
Alignment seems to solve Myles' issue in a somewhat more useful way, 
and perhaps we should reconsider how last-baseline alignment works in 
the presence of `overflow`.

Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/766 using your GitHub 
account
Received on Saturday, 26 November 2016 00:27:52 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:30:26 UTC