Contact emailsdizha...@chromium.org

Explainerhttps://github.com/mfreed7/shadow-dom-selection#readme

Specificationhttps://w3c.github.io/selection-api

Summary

The Selection API draft now includes specifications about behaviors when 
selecting across shadow DOM. https://w3c.github.io/selection-api/ This 
includes new: * Selection.direction * Selection.getComposedRanges()


Blink componentBlink>DOM>ShadowDOM 
<https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink%3EDOM%3EShadowDOM>

Motivation

Shadow DOM is now supported across all major rendering engines. We should 
update the Selection API so users can select across shadow boundaries and 
see interoperable behaviors. The new changes include API support for 
multiple ranges across a composed tree.


Initial public proposalNone

TAG reviewNone

TAG review statusNot applicable

Risks


Interoperability and Compatibility

None


*Gecko*: Positive (
https://groups.google.com/a/mozilla.org/g/dev-platform/c/zF7soLapT-Y) 
Currently in development.

*WebKit*: Shipped/Shipping (
https://github.com/WebKit/WebKit/pull/10843#issuecomment-1592149737) 
Partially shipped new API

*Web developers*: Positive (
https://stackoverflow.com/questions/62054839/shadowroot-getselection)

*Other signals*:

WebView application risks

Does this intent deprecate or change behavior of existing APIs, such that 
it has potentially high risk for Android WebView-based applications?

None


Debuggability

None


Is this feature fully tested by web-platform-tests 
<https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md>
?No

Flag name on chrome://flagsNone

Finch feature nameNone

Non-finch justificationNone

Requires code in //chrome?False

Estimated milestones

No milestones specified


Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/5971377218912256?gate=5903244307202048

This intent message was generated by Chrome Platform Status 
<https://chromestatus.com/>.

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to blink-dev+unsubscr...@chromium.org.
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/c40a8cc7-9f46-451c-b449-450e1d072fabn%40chromium.org.

Reply via email to