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

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. :)

~fantasai

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