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

Re: [css-text-decor] Emphasis marks and auto-hiding ruby annotation

From: Koji Ishii <kojiishi@gmail.com>
Date: Thu, 12 Nov 2015 21:32:05 -0800
Message-ID: <CAN9ydbVZBG-xtm0TjTaCO4dV5ULSyZdpZJhwibYS7miBpiTUeg@mail.gmail.com>
To: Xidorn Quan <quanxunzhen@gmail.com>
Cc: www-style list <www-style@w3.org>
The situation can happen without auto-hide, and I saw both examples, so the
spec avoids saying which specifically, only "emphasis marks come outside of
ruby" (figure 9 of the spec[1].)

Authors may want to specify in future, or can live with either, I can't
answer at this moment.

In my personal opinion, especially when the middle part is missing, the
former (consistent position) looks better. On the other hand, if emphasis
marks are on the whole paragraph, and only one character has ruby, the
latter might look better. Choosing either by auto-hide or not might be one
possible option.

[1]
https://drafts.csswg.org/css-text-decor-3/#text-emphasis-position-property

/koji

2015-11-10 23:32 GMT-08:00 Xidorn Quan <quanxunzhen@gmail.com>:

> Hi,
>
> I have a question that, if the annotation of a character is
> autohidden, where should the emphasis mark be drawn for this
> character?
>
> The current spec says:
> > If emphasis marks are applied to characters for which ruby is drawn in
> the same position as the emphasis mark, the emphasis marks are placed
> outside the ruby.
>
> It reads to me that if the annotation is autohidden, the emphasis mark
> would be rendered immediately on top of the character, and in the same
> line as other annotations, is that correct?
>
> To be more clear, the question is, if we have ruby like:
> > ふ がな
> > 振り仮名
> and we apply emphasis marks on it, which result makes more sense?
> > 、、、、
> > ふ がな
> > 振り仮名
> or
> > 、 、、
> > ふ、がな
> > 振り仮名
> ?
>
> - Xidorn
>
>
Received on Friday, 13 November 2015 05:32:53 UTC

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