Edit text outside of <body>
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 202
- Forks
- 43
- PR merge metrics
- No merged PRs in 30d
Description
Should browsers allow using execCommand outside the <body>? If yes, then that behavior should be specced. There is a proposal on what such behavior should look like [1]. Alternatively, we could specify that execCommand should not work outside of <body>. See discussion on pro- and contra starting here [2].
[1] https://github.com/web-platform-tests/interop-2022-editing/issues/8 See "Tests inserting paragraph and delete in elements outside "
[2] https://github.com/web-platform-tests/interop-2022-editing/issues/8#issuecomment-1205729552
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 proposal and tests in Interop 2022 Editing issue 8, then read the linked discussion about behavior outside . Resolve whether execCommand should work there or be prohibited, and reflect the decided behavior in the relevant specification and tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- documentation
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100