- From: Siye Liu <notifications@github.com>
- Date: Wed, 19 Jun 2024 14:15:26 -0700
- To: w3ctag/design-reviews <design-reviews@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 19 June 2024 21:15:31 UTC
Hi Lea, Thank you for the review. The latest spec of this API has been changed to take a dictionary with `shadowRoots` option: https://drafts.csswg.org/cssom-view/#ref-for-dom-document-caretpositionfrompoint. Regarding the open shadow roots vs. closed shadow roots, there is an existing API [`Element.getHTML`](https://html.spec.whatwg.org/#dom-element-gethtml) that takes a dictionary with a `shadowRoots` option for both open and closed shadow roots. I think it's better to make it consistent across APIs. -- Reply to this email directly or view it on GitHub: https://github.com/w3ctag/design-reviews/issues/949#issuecomment-2179464895 You are receiving this because you are subscribed to this thread. Message ID: <w3ctag/design-reviews/issues/949/2179464895@github.com>
Received on Wednesday, 19 June 2024 21:15:31 UTC