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

siliu1 has just created a new issue for https://github.com/w3c/csswg-drafts:

== [cssom-view] Change `document.caretPositionFromPoint`'s `shadowRoots` parameter from rest parameter to an array. ==
The `shadowRoots` parameter is defined in the [spec](https://drafts.csswg.org/cssom-view/#ref-for-dom-document-caretpositionfrompoint) as a rest parameter of type `ShadowRoot`.

We should change it from rest parameter to a single array of shadow roots. Similar to https://html.spec.whatwg.org/#gethtmloptions. It'd be good to be consistent.



Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10345 using your GitHub account


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

Received on Thursday, 16 May 2024 17:42:45 UTC