Bug 36682 - Select+all does not select all texts inside ruby
Summary: Select+all does not select all texts inside ruby
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-26 15:47 PDT by Ryosuke Niwa
Modified: 2010-03-28 19:13 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryosuke Niwa 2010-03-26 15:47:59 PDT
Upon Command+A, WebKit does not render selection in content editable node correctly when wrapped with a ruby element.

Reproduction step:
1. Go to http://www.mozilla.org/editor/midasdemo/, and input "<ruby>漢<rt>kan</rt>字<rt>ji</rt></ruby>" in HTML mode
2. Go back to editing mode, and Command+A

Expected result:
"漢kan 字ji" are selected and highlighted.

Actual result:
Only "漢ji" is highlighted, however "漢kan 字ji" is selected (if I do Command+C, get the entire text).
Comment 1 Roland Steiner 2010-03-28 19:13:32 PDT
Note that the highlight includes "kan" if there is text before the <ruby>, and it includes "字" if there is text after the </ruby>.