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

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

From: fantasai <fantasai.lists@inkedblade.net>
Date: Wed, 01 Jul 2015 06:06:32 -0400
Message-ID: <5593BBA8.3070408@inkedblade.net>
To: www-style@w3.org
On 06/25/2015 09:08 AM, Koji Ishii wrote:
> Use case-wise, I think both use cases exist. I can't answer from top of my heads which is more common.
>  From CSS and implementer perspective, I prefer the current WebKit/Blink behavior for three reasons:
> 1. The primary objective of the "central" vertical align is to align the center of lines. The value "middle" was defined as
> the center of x-height, which does not work for CJK use cases. So from my point of view, "central" aligns characters to
> characters (from user perspective, sometimes <img> are characters.)
> 2. Assuming my understanding of "both use cases exist", "middle" already serves one, so making "central" the same as "middle"
> looses another use case.
> 3. I prefer less differences when in horizontal and in vertical, unless it's really needed. Taking the "central" of last line
> box in horizontal flow while doing the "middle" of inline-block in vertical flow looks unnecessary difference to me.
> But this part was largely stolen from Steve's line box spec, fantasai wrote most of text in this section, reviewed by WG
> members. I'd like to have other opinions.
> fantasai, Steve, could you chime in?

I agree with your reasoning, Koji. :)

Received on Wednesday, 1 July 2015 10:07:03 UTC

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