Re: [csswg-drafts] [css-ruby] vertical-align on ruby bases (#4987)

An alternative (which probably matches what Firefox does at the moment) is to say that it contain all of its ruby bases' margin boxes before applying vertical alignment (or as if `vertical-align` is `baseline`).

I don't see particular use case here as well, but I think the way it's currently done in Firefox is probably simplest in implementation, as vertical alignment would normally need to happen after laying out the line, and thus wouldn't be taken into consideration when building the box of ruby base container.

If we want to make it not apply at all, some extra work would be needed to check this case (or drop it at computed value time), which is probably not terribly complex, but may not be useful either.

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

Received on Wednesday, 29 April 2020 11:36:27 UTC