[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 submitted a new pull request for https://github.com/w3c/csswg-drafts:

== [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 Thursday, 23 May 2024 20:21:37 UTC