Issue 2876: Deleting <input> elements from a contentEditable fields causes
various errors.
http://code.google.com/p/chromium/issues/detail?id=2876
New issue report by larster:
Product Version : 0.2.153.1 (Official Build 2519)
URLs (if applicable) :
Other browsers tested:
Add OK or FAIL after other browsers where you have tested this issue:
Safari 3: FAIL
Firefox 3: OK
IE 7: OK
What steps will reproduce the problem?
1. Load the attached html file and follow the instruction at the top
What is the expected result?
Hitting backspace with the caret immediately after an <input> element
should result only in the <input> element being removed from the DOM.
What happens instead?
Deleting the button cases a <div style="text-align: center;"> to be
inserted around the text before the button.
Deleting the other input elements causes a <br/> to be inserted in place of
the deleted <input> element.
Please provide any additional information below. Attach a screenshot if
possible.
Note that the file outputs both innerHTML of the contentEditable div as
well as the current caret position every 100ms. (This code does not work in
IE7; disable it to observe that IE7 correctly deletes the <input> elements
without inserting bogus dom elements.)
Attachments:
deleting-input-elements.html 2.5 KB
Issue attributes:
Status: Unconfirmed
Owner: [EMAIL PROTECTED]
Labels: Type-Bug Pri-2 OS-All Area-Unknown
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Chromium-bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/chromium-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---