w3c / w3c/editing

Define behavior of pressing enter in inline editing host

Open
#430 12 comments 0 reactions 1 assignee View on GitHub

@zcorpan is already working on this.

Since Feb 15, 2024.

execCommand
Dominant language
HTML
Stars
202
Forks
43
PR merge metrics
No merged PRs in 30d

Description

There are tentative tests for this:
https://github.com/web-platform-tests/wpt/blob/master/editing/other/insertparagraph-in-inline-editing-host.tentative.html
https://wpt.fyi/results/editing/other?label=experimental&label=master&product=chrome&product=firefox&product=safari&aligned&view=interop&q=label%3Ainterop-2023-webcompat

The tests are part of the Interop 2023 Web Compat focus area, but there's no spec for it.

If the behavior can be written down in some specification (whatever its standards track status) managed by the Editing WG, it will be much easier to implement something in Chromium that we can be confident matches the consensus of the WG.

(To reverse engineer the exact behavior from the tests isn't generally possible unless tests cover all possibilities.)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.