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 extend and modify methods for the Range object #1264

Open
snnsnn opened this issue Mar 14, 2024 · 0 comments
Open

Add extend and modify methods for the Range object #1264

snnsnn opened this issue Mar 14, 2024 · 0 comments
Labels
addition/proposal New features or enhancements needs implementer interest Moving the issue forward requires implementers to express interest

Comments

@snnsnn
Copy link

snnsnn commented Mar 14, 2024

What problem are you trying to solve?

Please can you add extend and modify methods to the specification of the Range object in a way to reflect the same behavior as the Selection API.

We use Range API in our product to run DOM Rect calculations in tight loops for DOM measurements, highlight and typography, fitting and slicing text, but it is very cumbersome and sub-optimal to execute those task in user space code. These two methods will come handy for other task too, such as in browser code editors.

It will also close the gap between Selection and Range API as I see there are similar issues:

Thank you.

What solutions exist today?

No response

How would you solve it?

No response

Anything else?

No response

@snnsnn snnsnn added addition/proposal New features or enhancements needs implementer interest Moving the issue forward requires implementers to express interest labels Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
addition/proposal New features or enhancements needs implementer interest Moving the issue forward requires implementers to express interest
Development

No branches or pull requests

1 participant