Contact emailsmas...@chromium.org

Explainerhttps://github.com/whatwg/html/issues/8867#issuecomment-1856696628

SpecificationNone

Summary

The prototype implementation (which was shipped in 2020 and then
shape-changed in 2023) contained a method called `getInnerHTML()` that
could be used to serialize DOM trees containing shadow roots. That part of
the prototype was not standardized with the rest of declarative shadow dom,
and only recently has it reached spec consensus (
https://github.com/whatwg/html/issues/8867). As part of that consensus, the
shape of the getInnerHTML API changed. This feature represents the desire
to ship the new, agreed-upon shape, which is:
getHTML({includeShadowRoots:bool, shadowRoots:[roots]}).

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

Motivation

This allows developers to serialize DOM trees containing shadow roots,
which is otherwise a very manual process.


Initial public proposalhttps://github.com/whatwg/html/issues/8867

TAG reviewNone

TAG review statusPending

Risks


Interoperability and Compatibility

None


*Gecko*: No signal

*WebKit*: No signal

*Web developers*: No signals

*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

Tracking bughttps://crbug.com/1517959

Estimated milestones

No milestones specified


Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/5102952270528512

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/CAM%3DNeDjRLRyHkgo%3DwTF76uj5rA46xafYsEmh4G_m%2BAcXTUev%3Dw%40mail.gmail.com.

Reply via email to