Re: [csswg-drafts] [css-align] Baseline of a multi-col box?

Further research [using tables](http://software.hixie.ch/utilities/js/live-dom-viewer/saved/5274) shows that:

* Blink uses the first baseline of the first column (you can play around with the font size of the first lines of each column to verify)
* Firefox/Edge continue to synthesize from the margin box. I didn't test WebKit, but I presume it does the same.

So we have rough interop on multicol not having a native baseline, which isn't particularly useful behavior. In particular, with Grid Layout, this'll become more of a concern; the current behavior (only really visible with inline-block and tables) is probably not hit very often by authors (and for tables, it's just straight up bad behavior).

Blink's behavior for first baseline is reasonable, but its behavior for last-baseline is the worst.

So I think we have two choices:

1. Go with the rough interop and always synthesize from the margin box. This is okay for inline-block, but gives terrible results in table and grid.
2. Go with Blink's first-baseline behavior, but define a better last-baseline behavior. (Probably: lowest baseline among all the columns?)

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1572#issuecomment-316129387 using your GitHub account

Received on Tuesday, 18 July 2017 17:01:30 UTC