Open Bug 1904161 (editcontext) Opened 2 years ago Updated 28 days ago

Implement EditContext

Categories

(Core :: DOM: Editor, enhancement)

enhancement

Tracking

()

ASSIGNED
Size Estimate L

People

(Reporter: daniec, Assigned: ltenenbaum)

References

(Depends on 3 open bugs)

Details

(Keywords: parity-chrome, web-feature, Whiteboard: [platform-feature][webcompat:risk-high])

User Story

web-feature: edit-context

Steps to reproduce:

Filing a tracking bug for the implementation of EditContext, to be referenced in spec draft changes.

See:
https://github.com/w3c/edit-context
https://w3c.github.io/edit-context/
https://developer.mozilla.org/en-US/docs/Web/API/EditContext_API

The Bugbug bot thinks this bug should belong to the 'Core::DOM: Editor' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → DOM: Editor
Product: Firefox → Core
Status: UNCONFIRMED → NEW
Ever confirmed: true

According to the discussion in the spec issues, getTargetRanges need to return reasonable content range even with EditContext. Then, we need to use the computing methods of getTargetRanges in HTMLEditor, but they depend on Selection and may update Selection temporarily. However, that may cause complicated web-compat issues. Therefore, we need to fix bug 1923795 before working on this.

Depends on: 1923795
OS: Unspecified → All
Hardware: Unspecified → All
Depends on: 1927549
Size Estimate: --- → L
User Story: (updated)
Whiteboard: [platform-feature][webcompat:risk-high]
Depends on: 2030746
Alias: editcontext
Depends on: 2035304
Depends on: 2037871
Assignee: nobody → ltenenbaum
Status: NEW → ASSIGNED
Depends on: 2039944
Depends on: 2043632
Depends on: 2044144
See Also: → 2044784
Depends on: 2045111
Depends on: 2045748
Depends on: 2046107
See Also: → 2048074
Depends on: 2048986
Depends on: 2049462
See Also: → 2049464
Depends on: 2052582
See Also: → 2053108
See Also: → 2054117
See Also: → 2054998
Depends on: 2055955
See Also: → 2057614
You need to log in before you can comment on or make changes to this bug.