[w3ctag/design-reviews] document.caretPositionFromPoint API in shadow DOM scenario (Issue #949)

こんにちは TAG-さん!

I'm requesting a TAG review of document.caretPositionFromPoint API in shadow DOM scenario.

The [document.caretPositionFromPoint](https://www.w3.org/TR/cssom-view-1/#dom-document-caretpositionfrompoint) returns a [CaretPosition](https://www.w3.org/TR/cssom-view-1/#the-caretposition-interface) which represents the caret position indicating current text insertion point. However, the current spec is vague about the behavior in shadow DOM scenario. The proposal attempts to specify the behavior in shadow DOM.

  - Explainer¹ (minimally containing user needs and example code): https://github.com/siliu1/web-proposals/blob/main/explainers/caretPositionFromPoint-shadow-DOM.md
  - Specification URL: current spec: https://www.w3.org/TR/cssom-view-1/#dom-document-caretpositionfrompoint. Proposed spec change: https://github.com/w3c/csswg-drafts/pull/10200
  - Tests: None for shadow DOM scenario. For light DOM: https://github.com/web-platform-tests/wpt/blob/master/css/cssom/caretPositionFromPoint.html
  - User research: N/A
  - Security and Privacy self-review²: N/A as there are no additional security implications over existing API.
  - GitHub repo (if you prefer feedback filed there): https://github.com/w3c/csswg-drafts/issues (cssom-view label)
  - Primary contacts (and their relationship to the specification):
      - Siye Liu (@siliu1, Microsoft, implementor)
      - Simon Pieters (@zcorpan, Mozilla, spec author)
  - Organization(s)/project(s) driving the specification: Microsoft
  - Key pieces of existing multi-stakeholder or discussion of this specification: This has been discussed at CSSWG via https://github.com/w3c/csswg-drafts/issues/9932
  - External status/issue trackers for this specification (publicly visible, e.g. Chrome Status): https://chromestatus.com/feature/5201014343073792

Further details:

  - [ ] I have reviewed the TAG's [Web Platform Design Principles](https://www.w3.org/TR/design-principles/)
  - Relevant time constraints or deadlines: None
  - The group where the work on this specification is currently being done: CSSWG
  - The group where standardization of this work is intended to be done (if current group is a community group or other incubation venue): CSSWG
  - Major unresolved issues with or opposition to this specification: We have not heard of opposition, the proposal has been discussed in CSSWG and came to an agreement.
  - This work is being funded by: Microsoft


-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/issues/949
You are receiving this because you are subscribed to this thread.

Message ID: <w3ctag/design-reviews/issues/949@github.com>

Received on Thursday, 25 April 2024 18:47:09 UTC