- From: Ryosuke Niwa <notifications@github.com>
- Date: Tue, 30 Sep 2025 13:43:52 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 30 September 2025 20:43:56 UTC
rniwa left a comment (whatwg/dom#1404) > > FWIW, I'd rather extend `Range` so that it can work with shadow host in general instead of creating a new interface specifically for form controls. > > We explored extending Range, including shadow host support, but found compatibility and encapsulation issues that made it risky to change existing Range semantics. Based on feedback across discussions, we went with a dedicated FormControlRange instead. The trade-offs and alternatives are covered in the [explainer](https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/FormControlRange/explainer.md#extending-the-range-api-1st-approach). Changing the behavior of `setStart`/`setEnd` wouldn't be an only way to solve this problem. I'd instead add a new argument or a new function which specifies "offset" within element's shadow tree. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/pull/1404#issuecomment-3353743844 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/dom/pull/1404/c3353743844@github.com>
Received on Tuesday, 30 September 2025 20:43:56 UTC