W3C home > Mailing lists > Public > www-style@w3.org > June 2015

Re: [css-writing-modes-3] Proposal to modify how inline-block with non-empty block descendants are baseline-aligned

From: Gérard Talbot <www-style@gtalbot.org>
Date: Thu, 25 Jun 2015 12:16:20 -0400
To: Koji Ishii <kojiishi@gmail.com>
Cc: Koji Ishii <kojiishi@gluesoft.co.jp>, Elika Etemad <fantasai.lists@inkedblade.net>, W3C www-style mailing list <www-style@w3.org>, 塩澤 元 (Shiozawa, Hajime) <hajime.shiozawa@gmail.com>
Message-ID: <ae8e6b24463f967d437fa615fddb7287@gtalbot.org>
Le 2015-06-11 20:37, Gérard Talbot a écrit :

[snipped]

> Similarly,
> 
> "
> The baseline of an 'inline-table' is the baseline of the first row of 
> the table.
> "
> CSS 2.1, 10.8.1 Leading and half-leading
> http://www.w3.org/TR/CSS21/visudet.html#leading


** inline-table **


Steps:

1- Load

http://www.gtalbot.org/BrowserBugsSection/CSS3WritingModes/vert-align-latin-baseline-inline-table-dhtml.html

into several browsers: say, Firefox 41 nightly build (you must use the 
latest nightly build of Firefox 41) and Chrome 45

2- Make sure that 'mixed' and 'baseline' radio buttons are checked

Firefox rendering: the inline-table margin box is centered within the 
line box

Chrome rendering: the inline-table is baseline-aligned within the line 
box in accordance with the baseline of its first row box.

-------

Proposal:

In vertical writing mode, when the central baseline is used as the
dominant baseline, then the baseline of an inline-table is halfway
between its under and over margin edges.

Webkit-based browsers would have to be fixed; Firefox would not have
any modification to do.

Gérard
Received on Thursday, 25 June 2015 16:16:51 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:55 UTC