Bug 80763 - Trying to select a contenteditable tag inside non-contenteditable tag (or vice versa) causes invalid selection ranges
Summary: Trying to select a contenteditable tag inside non-contenteditable tag (or vic...
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-10 12:16 PST by Lakshan Perera
Modified: 2022-12-16 03:15 PST (History)
3 users (show)

See Also:


Attachments
Demo on contenteditable selection range issue (1.89 KB, text/html)
2012-03-10 12:16 PST, Lakshan Perera
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lakshan Perera 2012-03-10 12:16:19 PST
Created attachment 131182 [details]
Demo on contenteditable selection range issue

Please try running the sample HTML given in the attachment. Firefox 10.0.2, InternetExplorer 9 and Opera 11.6 selects `ob`; while WebKit only selects `o` in the two instances. 

If both parent and child tags have the same contenteditable property (ie. true or false) it will select `ob`.
Comment 1 Ahmad Saleem 2022-12-16 03:15:09 PST
I am not able to reproduce this bug in Safari 16.2, STP 159 and it selects "ob" and it matches Chrome Canary 110 and Firefox Nightly 110.

Since all browsers are matching, I am going to mark this as "RESOLVED WONTFIX" since it was not confirmed earlier.