Re: [css-writing-modes] Underline in vertical text

On 10/21/2014 04:07 AM, Brian Birtles wrote:
> Hi,
>
> For the following markup which side is the underline drawn on?
>
>    div {
>      writing-mode: vertical-rl;
>      text-orientation: upright;
>    }
>
>    <div><u>ABC</u></div>
>
>  From my reading of the spec and testing in Chrome, it seems like it appears on the left side.

This is correct.

See 'text-underline-position' for how to handle this correctly in Japanese.
   http://www.w3.org/TR/css-text-decor-3/#text-underline-position-property

I would recommend implementing the UA rules recommended in
   http://www.w3.org/TR/css-text-decor-3/#default-stylesheet

~fantasai

Received on Tuesday, 21 October 2014 20:22:05 UTC