← Back to release summary

setHTMLUnsafe and parseHTMLUnsafe

Category
DOM
Type
Chromium catches up
Status
Enabled by default (Chrome 124)
Intent stage
None

Summary

The setHTMLUnsafe and parseHTMLUnsafe methods allow Declarative ShadowDOM to be used from javascript. In the future, they may also get new parameters for sanitization.

Standards & signals

View on chromestatus.com