Skip to content

Selection #2

@jgraham

Description

@jgraham

Selection, including where it's possible to put the caret, is an area that's been identified as high impact for editor authors. In particular the following questions:

  • What are the legal caret positions?
  • How does selection interact with non-selectable elements?
  • How does selection interact with shadow dom?

For the caret position, we have some existing spec text that calls out some special cases: https://github.com/w3c/contentEditable/blob/ba10fb177f68567ff742d0acb6caab337224af2d/index.html#L145-L187

So as part of this investigation we should:

  • Figure out how much of this is already covered by relevant specifications and ensure that any gaps are reported and able to be addressed
  • Figure out where we already have test coverage, and where we don't add additional test coverage.
  • Ensure that everyone agrees that the expected results of the tests match the specification and the desired behaviour.

The aim is that the identified tests would be a candidate for an Interop 2023 focus area that browsers would be able to commit to.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions