[csswg-drafts] Pull Request: [cssom-view] Change `document.caretPositionFromPoint`'s `shadowRoots` parameter from rest parameter to a dictionary with an array of shadow roots

siliu1 has just labeled a pull request from siliu1 for https://github.com/w3c/csswg-drafts as "cssom-view-1":

== [cssom-view] Change `document.caretPositionFromPoint`'s `shadowRoots` parameter from rest parameter to a dictionary with an array of shadow roots ==
Per issue 10345, We should change the API signature from `document.caretPositionFromPoint(double x, double y, ShadowRoot... shadowRoots)` to `document.caretPositionFromPoint(double x, double y, optional CaretPositionFromPointOptions options = {})` where `CaretPositionFromPointOptions` is defined as:

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

See https://github.com/w3c/csswg-drafts/pull/10365


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 24 May 2024 15:47:26 UTC