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

Re: [css-text-decor][css-ruby] Underline position for Japanese text with ruby

From: Koji Ishii <kojiishi@gmail.com>
Date: Mon, 29 Jun 2015 01:16:52 +0900
Message-ID: <CAN9ydbVdZefqRyff-5Q_OR2UE9-ZJ1u7UbKr-TBF438uz2ftOQ@mail.gmail.com>
To: Shinyu Murakami <murakami@vivliostyle.com>
Cc: fantasai <fantasai.lists@inkedblade.net>, Xidorn Quan <quanxunzhen@gmail.com>, www-style list <www-style@w3.org>, Masayuki Nakano <masayuki@d-toybox.com>
>
> fantasai <fantasai.lists@inkedblade.net> wrote on 2015-06-27 20:41:43
> > On 06/26/2015 08:25 PM, Xidorn Quan wrote:
> > > Hi,
> > >
> > > Recently, Masayuki mentioned that, for Japanese, if a piece of
> > > text in vertical writing mode has both ruby and underline, the
> > > underline should be outside ruby annotation, like:
> > >
> > > 分わ|
> > > か |
> > > る |
> > >
> > > However, implementors who are not aware of this will tend to implement
> that as:
> > >
> > > 分|わ
> > > か|
> > > る|
> > >
> > > (This is actually the current behavior of Firefox Nightly)
> > >
> > > I know the current spec says the exact position of underline is
> > > UA-defined, but I guess it at least worths a note. Actually, I
> > > don't think this is a behavior could be covered by "UA-defined".
> > >
> > > As an implementor, I feel it looks hard to implement, but probably
> > > not something impossible.
> > >
> > > Also it seems to me this is not mentioned in JLReq. I guess we
> > > should also cc people there and ask their opinion about this.
> >
> > Good point. I agree with asking the JLTF to put a clarification
> > into JLREQ--for this situation in both horizontal and vertical
> > text--and we should follow up by figuring out a good model for
> > handling this in CSS. I'm not 100% sure what that should be, as
> > there might also be cases where the underline should go between
> > the ruby and the base.
>

Agreed that having a clarification in JLREQ is good.

>From top of my heads, I agree with Murakami-san; the current behavior of
Firefox Nightly looks good to me.

/koji
Received on Sunday, 28 June 2015 16:17:19 UTC

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