Open Bug 1489481 Opened 7 years ago Updated 3 years ago

Can't type in contentEditable element between two (inline) uneditable elements

Categories

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

defect

Tracking

()

People

(Reporter: marijnh, Unassigned)

Details

If you have, in an editable element, two adjacent inline elements with contenteditable=false and display: inline-block, Firefox will not let you type text when the cursor is between them. I'd argue the expected behavior is that you can type at any inline position. You can see the issue in this link: data:text/html,<!doctype html><style>span{display: inline-block}</style><div contenteditable=true>a<span contenteditable=false>X</span><span contenteditable=false>Y</span>b</div>
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.