Add extend and modify methods for the Range object #1264
Labels
addition/proposal
New features or enhancements
needs implementer interest
Moving the issue forward requires implementers to express interest
What problem are you trying to solve?
Please can you add
extend
andmodify
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
The text was updated successfully, but these errors were encountered: