Bug 61110 - TextIterator on Details&summary iterates characters in incorrect visual order
Summary: TextIterator on Details&summary iterates characters in incorrect visual order
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P3 Minor
Assignee: Hajime Morrita
URL: data:text/html,aaa <details open>bbb ...
Keywords:
Depends on:
Blocks: 64072
  Show dependency treegraph
 
Reported: 2011-05-18 23:58 PDT by Kent Tamura
Modified: 2011-12-05 00:11 PST (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kent Tamura 2011-05-18 23:58:41 PDT
1. Load data:text/html,aaa <details open>bbb <summary>ccc</summary> ddd</details> eee
2. Select all text (⌘-A / Ctrl-A)
3. Copy (⌘-C / Ctrl-C)
4. Paste on a plain text box

Expected:
 The pasted text should be "aaa ccc bbb ddd eee" because it's the visual order.

Actual result:
 The pated test is "aaa bbb ccc ddd eee".
Comment 1 Kent Tamura 2011-05-19 00:20:38 PDT
I don't think this is so severe.
Comment 2 Hajime Morrita 2011-12-05 00:11:45 PST
Reforming tree: Pushed this down to the flattened tree family.