- From: Siye Liu via GitHub <sysbot+gh@w3.org>
- Date: Fri, 17 May 2024 20:58:22 +0000
- To: public-css-archive@w3.org
> > @mfreed7 FYI I opened this issue to update the spec for `document.caretPositionFromPoint` to take a single array of shadow roots instead of using a rest parameter. > > +1. That aligns with `getHTML()` and also allows additional arguments to be added later. > > > Doesn't seem unreasonable, but it might be even better to make it a dictionary argument so we can add more arguments there in the future. > > +1 to that also. It makes the name of that argument explicit, which is nice, and allows additional arguments in an even better way. > > By the way, I think we should make the same change to `getComposedRanges()` for all of the same reasons. Filed https://github.com/w3c/selection-api/issues/176 -- GitHub Notification of comment by siliu1 Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10345#issuecomment-2118375378 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 17 May 2024 20:58:23 UTC