Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add note that updateText can have rangeStart > rangeEnd #90

Merged

Conversation

dandclark
Copy link
Contributor

@dandclark dandclark commented Feb 13, 2024

Per discussion in #81, add note clarifying that updateStart() can have updateRangeStart > updateRangeEnd.
Replace old note that doesn't seem to apply anymore.

Closes #81

@dandclark dandclark requested a review from snianu February 13, 2024 23:15
@dandclark dandclark merged commit 06467f3 into w3c:gh-pages Feb 14, 2024
1 check passed
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Feb 15, 2024
Per w3c/edit-context#90,
EditContext.updateText() should allow the start/end parameters
to be backwards.

Bug: 40642681
Change-Id: Idde01fa7282120e0961eb60a9ccab58061f4062b
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Feb 16, 2024
Per w3c/edit-context#90,
EditContext.updateText() should allow the start/end parameters
to be backwards.

Bug: 40642681
Change-Id: Idde01fa7282120e0961eb60a9ccab58061f4062b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5301307
Reviewed-by: Anupam Snigdha <[email protected]>
Reviewed-by: Koji Ishii <[email protected]>
Commit-Queue: Dan Clark <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1261748}
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Feb 16, 2024
Per w3c/edit-context#90,
EditContext.updateText() should allow the start/end parameters
to be backwards.

Bug: 40642681
Change-Id: Idde01fa7282120e0961eb60a9ccab58061f4062b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5301307
Reviewed-by: Anupam Snigdha <[email protected]>
Reviewed-by: Koji Ishii <[email protected]>
Commit-Queue: Dan Clark <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1261748}
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Feb 23, 2024
…ms in updateText, a=testonly

Automatic update from web-platform-tests
[EditContext] Allow backwards range params in updateText

Per w3c/edit-context#90,
EditContext.updateText() should allow the start/end parameters
to be backwards.

Bug: 40642681
Change-Id: Idde01fa7282120e0961eb60a9ccab58061f4062b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5301307
Reviewed-by: Anupam Snigdha <[email protected]>
Reviewed-by: Koji Ishii <[email protected]>
Commit-Queue: Dan Clark <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1261748}

--

wpt-commits: 86be793cf4c65625e241ac179ad3093981832779
wpt-pr: 44616
marcoscaceres pushed a commit to web-platform-tests/wpt that referenced this pull request Feb 23, 2024
Per w3c/edit-context#90,
EditContext.updateText() should allow the start/end parameters
to be backwards.

Bug: 40642681
Change-Id: Idde01fa7282120e0961eb60a9ccab58061f4062b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5301307
Reviewed-by: Anupam Snigdha <[email protected]>
Reviewed-by: Koji Ishii <[email protected]>
Commit-Queue: Dan Clark <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1261748}
ErichDonGubler pushed a commit to erichdongubler-mozilla/firefox that referenced this pull request Feb 24, 2024
…ms in updateText, a=testonly

Automatic update from web-platform-tests
[EditContext] Allow backwards range params in updateText

Per w3c/edit-context#90,
EditContext.updateText() should allow the start/end parameters
to be backwards.

Bug: 40642681
Change-Id: Idde01fa7282120e0961eb60a9ccab58061f4062b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5301307
Reviewed-by: Anupam Snigdha <[email protected]>
Reviewed-by: Koji Ishii <[email protected]>
Commit-Queue: Dan Clark <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1261748}

--

wpt-commits: 86be793cf4c65625e241ac179ad3093981832779
wpt-pr: 44616
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.

Handling 'backwards' selection direction in an EditContext implementation
2 participants