- From: SnnSnn <notifications@github.com>
- Date: Thu, 14 Mar 2024 11:21:28 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 14 March 2024 18:21:32 UTC
### 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: - https://github.com/whatwg/dom/issues/431 - https://github.com/whatwg/dom/issues/772 Thank you. ### What solutions exist today? _No response_ ### How would you solve it? _No response_ ### Anything else? _No response_ -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/1264 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/dom/issues/1264@github.com>
Received on Thursday, 14 March 2024 18:21:32 UTC