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

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