Open
Bug 997749
Opened 11 years ago
Updated 3 years ago
Typing fails in an contentEditable div with a :before style applied
Categories
(Core :: DOM: Core & HTML, defect, P5)
Tracking
()
UNCONFIRMED
People
(Reporter: john_thomson, Unassigned)
Details
Attachments
(1 file)
|
335 bytes,
text/html
|
Details |
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36
Steps to reproduce:
Open the attached file ("edit problem.htm")
Press tab (should see insertion point in box with text 'before')
Click in the box
Type something
Actual results:
Nothing (no text appears; keystrokes are ignored; insertion point continues to flash left of the before: text)
Expected results:
Typed text should appear (after the before:)(and insertion point should move).
(It would also be nice if the insertion point was initially AFTER the before: text.)
Notes: all steps are necessary; typing works normally if you ONLY tab or ONLY click, or if no ':before' style applies to the div, or if the div is not empty.
IE and Chrome both behave as expected.
Other ways (e.g., JavaScript) of placing the focus in the editable div also result in typing failing if the user clicks in the box.
A workaround is just not to click; doing so achieves nothing when the right box is already focused. However, not all users know this, so it is very confusing when they click and type an nothing happens.
Also observed in version 11.
Updated•11 years ago
|
Component: Untriaged → DOM
Product: Firefox → Core
Comment 1•7 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046
Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5.
If you have questions, please contact :mdaly.
Priority: -- → P5
| Assignee | ||
Updated•7 years ago
|
Component: DOM → DOM: Core & HTML
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•