Should updateCharacterBounds() throw an error if the bounds are out of range of the text?
Open
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 48
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
Description
i.e. if rangeStart + characterBounds.length > text.length. See also #88.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the updateCharacterBounds() bounds rule described in this issue and the related discussion in #88. Determine the expected behavior when rangeStart plus characterBounds.length exceeds text.length, then confirm that the API behavior and its coverage reflect the decision.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100