Re: Selection on text with ruby

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.

Bobby

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

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