[css-writing-modes] Underline in vertical text

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.

That seems odd from a Japanese language point of view since "underlines" 
appear on the right-hand side in vertical Japanese (i.e. the same side 
as the ruby text).

Should authors overwrite this manually? e.g.

   u:lang(jp) {
     text-decoration-line: overline;
   }

Or does it make sense to change the default behavior for this, e.g. 
through a UA stylesheet?

Best regards,

Brian

Received on Tuesday, 21 October 2014 08:08:18 UTC