Open
Bug 586189
Opened 14 years ago
Updated 2 years ago
hidden elements when designMode is on shouldn't be accessible when using DELETE or BACKSPACE
Categories
(Core :: DOM: Editor, defect)
Tracking
()
NEW
People
(Reporter: jarben, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: testcase, Whiteboard: [h2review-noted])
Attachments
(1 file)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 When designMode is enabled and there is an element such as <span style="display:none">non visible text</span> editor shouldn't allow to access this element characters using BACKSPACE or DELETE keys. Other navigation keys work fine. Reproducible: Always Steps to Reproduce: 1. create a document with designMode on and add some text 2. add another text in the middle of the text and style it as display:none 3. place cursor at the end of your text and start pressing backspace Actual Results: When cursor reaches the hidden text it starts edit this text even if it's hidden - character by character but cursor doesn't move Expected Results: backspace should delete whole hidden text node on one press so it won't need multiple presses. Same as if using left/right keys - cursor jumps to a previous visible character when pressed. It works in webkit so I guess it should work like this by default
Reporter | ||
Comment 1•14 years ago
|
||
Comment 2•14 years ago
|
||
Reproduceable with Mozilla/5.0 (Windows NT 5.1; rv:2.0b6pre) Gecko/20100911 Firefox/4.0b6pre ID:20100911041541.
Updated•14 years ago
|
Assignee: nobody → ehsan
Updated•5 years ago
|
Assignee: ehsan → nobody
Updated•5 years ago
|
Blocks: editor-blink-compat
Updated•4 years ago
|
Whiteboard: [h2review-noted]
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•