Bug 114064
Summary: | Insert a SPAN before a ContentEditable SPAN tag will lose the remaining text | ||
---|---|---|---|
Product: | WebKit | Reporter: | Duc N <mrducat> |
Component: | HTML Editing | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Major | CC: | ahmad.saleem792, bfulgham, mrducat, rniwa |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | OS X 10.8 |
Duc N
Insert a SPAN (using document.execCommand, InsertHTML) before a ContentEditable SPAN tag will lose the remaining text.
Please check the demo:
http://jsfiddle.net/CACBZ/1/
Thanks.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Ahmad Saleem
I am able to reproduce this bug in Safari 16.2, Safari Technology Preview 160 and pressing "Tab" delete text / portion of text and it is same with Chrome Canary 111 and only Firefox Nightly 110 does not delete any text.
Marking this as "New".