Firefox: Up/Down arrow navigation doesn't work with absolutely positioned elements in contenteditable
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 202
- Forks
- 43
- PR merge metrics
- No merged PRs in 30d
Description
Description:
In Firefox, when a contenteditable element contains absolutely positioned child elements,
arrow key navigation behaves inconsistently:
- Left/Right arrow keys work correctly (follow DOM order)
- Up/Down arrow keys fail to navigate to/from absolutely positioned elements
This works correctly in Chrome and Safari.
See Repro: https://w3c.github.io/editing/repros/523.html (pending PR #524 being merged)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the reproduction at https://w3c.github.io/editing/repros/523.html and verify the behavior in Firefox, Chrome, and Safari. Focus on Up/Down navigation involving absolutely positioned children inside contenteditable; done means those keys navigate to and from those elements consistently, while Left/Right behavior remains correct.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100