You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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: