Open Bug 1327046 Opened 7 years ago Updated 2 years ago

[contenteditable] html ignores text selection with Ctrl+A

Categories

(Core :: DOM: Editor, defect, P3)

defect

Tracking

()

People

(Reporter: arni2033, Unassigned)

References

()

Details

(Keywords: parity-chrome)

>>>   My Info:   Win7_64, Nightly 48, 32bit, ID 20160409030219
STR_1:
1. Copy  "background-color: transparent;"  to clipboard
2. Open   data:text/html,<html contenteditable>background-color: transparent;
3. Click on the text on page, select it with Ctrl+A
4. Press Ctrl+V

AR:  "background-color: transparent;[caret]background-color: transparent;"
ER:  "background-color: transparent;[caret]"



STR_2:
1. Open   data:text/html,<html contenteditable>background-color: transparent;
2. Click on the text on page, select it with Ctrl+A
3. Press Delete

AR:  "[caret]ackground-color: transparent;"
ER:  "[caret]"
No longer blocks: 1277113
Component: Untriaged → Editor
Product: Firefox → Core
Priority: -- → P3

Reproducible on Ubuntu 18.04.

This indeed only seems to be a problem for <html> elements attributed as contentEditable, so on real websites this is unlikely to occur.

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.