W3C home > Mailing lists > Public > www-international@w3.org > January to March 2015

Re: Selection on text with ruby

From: Bobby Tung <bobbytung@wanderer.tw>
Date: Sat, 21 Feb 2015 11:14:55 +0800
Cc: www International <www-international@w3.org>, Koji Ishii <kojiishi@gmail.com>, Shinyu Murakami <murakami@antenna.co.jp>
Message-Id: <960F8AB0-26BE-4D56-87E4-1B189FEC4AB6@wanderer.tw>
To: Xidorn Quan <quanxunzhen@gmail.com>
Hi Xidorn,

> Xidorn Quan <quanxunzhen@gmail.com> 於 2015年2月21日 上午9:45 寫道:
> Hi,
> We just implement CSS Ruby on Gecko, and we recently get a request from users that when selecting a piece of text, the ruby annotations should be excluded from the selection as well as the text in clipboard. [1]
> AFAICS, it is a reasonable request. I don't think people generally wants to select the annotations. In most cases, people just need the base text. But I can see one case that, people may want to copy the whole markup structure for using in other places.
> Currently, in all browsers which support ruby, annotations will be selected and copied as if they are inline elements. But in Kindle apps (for iOS/Android), the annotations cannot be selected in any way.
> I'm pretty sure that in common cases, people would only want to select the base text. But what I'm not sure is, how often do people want to select the annotation as well, and what would they expect when moving the text to other places? I guess for plain text, they may expect that there are always brackets around the annotations.

I think in Pinyin and Bopomofo, people may think they can copy/paste and keep ruby as well. But it doesn't work anyway. If the output, in plain text, is every character with brackets and Pinyin/Bopomofo. It will be unreadable.

But for general Japanese ruby usage and ruby as "real" annotation. It would be better to export the brackets and ruby text together.


> [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1130891
> - Xidorn

Received on Saturday, 21 February 2015 03:15:26 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:41:07 UTC