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

Selection on text with ruby

From: Xidorn Quan <quanxunzhen@gmail.com>
Date: Sat, 21 Feb 2015 14:45:42 +1300
Message-ID: <CAMdq69_8i5+-FsSqBQcD7BV7z_LQpBNcs8d5eYZYRDDxmDeT-A@mail.gmail.com>
To: www International <www-international@w3.org>, Koji Ishii <kojiishi@gmail.com>, Shinyu Murakami <murakami@antenna.co.jp>
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.

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

- Xidorn
Received on Saturday, 21 February 2015 01:46:49 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 21 September 2016 22:37:38 UTC