Skip to content

Specify what TextUpdateEvent updateRangeStart/End should be set to.#130

Open
ltenmoz wants to merge 1 commit into
w3c:gh-pagesfrom
ltenmoz:define-updaterange
Open

Specify what TextUpdateEvent updateRangeStart/End should be set to.#130
ltenmoz wants to merge 1 commit into
w3c:gh-pagesfrom
ltenmoz:define-updaterange

Conversation

@ltenmoz
Copy link
Copy Markdown
Contributor

@ltenmoz ltenmoz commented May 19, 2026

Currently dispatch-text-update-event does not specify what the updateRangeStart and updateRangeEnd attributes should be set to. They should probably be min(insertionStart, insertionEnd) and max(insertionStart, insertionEnd) respectively (this is what Chrome does and what the WPTs expect)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant