Skip to content

contenteditable #188

@jgraham

Description

@jgraham

Description

Alignment on apsects of contentEditable that have been agreed as part of the Interop 2022 investigation.

Rationale

contenteditable interop has been a longstanding issue on the web, and causes significant difficulties for users and authors as libraries need to handle browser differences, often using complex approaches like DOM diffing. However in some cases even the few invariants assumed by libraries are broken, and so there can be user-facing breakage.

The lack of a trustworthy specification, and constraints imposed by deployed content makes it hard to fully align on contenteditable behaviour. However the interop 2022 investigation revealed some areas in which browsers could better align, and in doing so make it easier to write working editing libraries.

Specification

No response

Tests

https://github.com/web-platform-tests/wpt/blob/master/editing/other/insertparagraph-in-inline-editing-host.tentative.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions