[csswg-drafts] caretPositionFromPoint reveals nodes in shadow dom, if the target is a text widget (#10515)

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

== caretPositionFromPoint reveals nodes in shadow dom, if the target is a text widget ==
https://github.com/w3c/csswg-drafts/pull/10200 didn't fix shadow dom handling for step 4 in https://drafts.csswg.org/cssom-view/Overview#dom-document-caretpositionfrompoint, only step 5

Looks like the [tests](https://searchfox.org/mozilla-central/rev/16a5f0e868a01d3f3a4a7364206bef2a64e80735/testing/web-platform/tests/shadow-dom/Document-caretPositionFromPoint.tentative.html#124-143) don't match the spec, but I assume the issue is in the spec.

@siliu1  

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


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

Received on Monday, 1 July 2024 08:50:31 UTC