WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
Bug 61110
TextIterator on Details&summary iterates characters in incorrect visual order
https://bugs.webkit.org/show_bug.cgi?id=61110
Summary
TextIterator on Details&summary iterates characters in incorrect visual order
Kent Tamura
Reported
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".
Attachments
Add attachment
proposed patch, testcase, etc.
Kent Tamura
Comment 1
2011-05-19 00:20:38 PDT
I don't think this is so severe.
Hajime Morrita
Comment 2
2011-12-05 00:11:45 PST
Reforming tree: Pushed this down to the flattened tree family.
Ahmad Saleem
Comment 3
2022-08-05 16:22:00 PDT
I am able to reproduce this bug in Safari 15.6 on macOS 12.5 using mentioned test case converted into JSFiddle: Link -
https://jsfiddle.net/yntdab40/show
Selecting any text and then doing CMD + A then CMD + C and then copying here shows this for Safari 15.6 and Firefox Nightly 105: aaa bbb ccc ddd eee While for Chrome Canary 106, it shows this: aaa ccc bbb dddeee
Radar WebKit Bug Importer
Comment 4
2022-08-05 18:41:09 PDT
<
rdar://problem/98222614
>
Ahmad Saleem
Comment 5
2022-08-09 15:05:18 PDT
***
Bug 61112
has been marked as a duplicate of this bug. ***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug