Skip to content

Naming of Composed Range #1363

Open
Open
@dizhang168

Description

@dizhang168

What is the issue with the DOM Standard?

Per the discussion on the PR to define Composed Selection Range, there is a disagreement on what naming we should use for the new concept. Currently:

  • Composed selection range: A range with start and end endpoints that can be across shadow trees
  • Legacy selection range: The live range that is associated with the composed selection range. In Selection API, this is the live range returned by getRangeAt(0).

Some suggestions on how to call it includes:

  1. "composed live range" and "legacy live range"
  2. "composed selection range" and "legacy selection range"
  3. "composed-tree selection range" and "same-tree selection range"
  4. "composed selection range" and "same-tree selection range"

Does anyone have a strong preference?

@annevk @smaug---- @sefeng211 @domfarolino

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions