Re: [csswg-drafts] [cssom-view] Change `document.caretPositionFromPoint`'s `shadowRoots` parameter from rest parameter to an array (#10345)

Proposed solution: Put the array of shadow roots into a dictionary which is an argument of `document.caretPositionFromPoint` API. 

```
document.caretPositionFromPoint(double x, double y, optional CaretPositionFromPointOptions options = {});

dictionary CaretPositionFromPointOptions {
  sequence<ShadowRoot> shadowRoots = [];
};
```

-- 
GitHub Notification of comment by siliu1
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10345#issuecomment-2118164752 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 18:24:56 UTC