Designmode does not select the HR element
Categories
(Core :: DOM: Editor, defect)
Tracking
()
People
(Reporter: peter, Unassigned)
Details
Attachments
(1 file)
98 bytes,
text/html
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0
Steps to reproduce:
Place document into designmode = true.
Click on a HR element. Attempt to delete it or type some content to insert after it.
Actual results:
Pressing delete key deletes content after it. Pressing backspace deletes content above it. There is no perceivable way to delete it.
If it is the last element in the body, then the caret cannot be moved after it; any typing is placed before the element.
Expected results:
Delete or Backspace key should have deleted the HR element.
Typing should insert characters after the element.
Caret should be able to be positioned after the element.
Selection TargetNode should be set to the HR element, not the BODY.
Double click should highlight the element.
HR element should be treated like any other element that can be selected, dragged, deleted etc.
Reporter | ||
Comment 1•1 year ago
|
||
Simple HTML to use for editing.
Comment 2•1 year ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::DOM: Core & HTML' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 3•1 year ago
•
|
||
I can reproduce this issue with Fx 117 and Fx 102, so it doesn't look like a regression.
Description
•