web-feature: HTML setter methods

The setHTML(), replaceWithHTML(), beforeHTML(), prependHTML(), appendHTML() and afterHTML() DOM methods, and unsafe equivalents, insert HTML into an existing tree.

Notes

Unsupported keys in WebViews

  • Android WebView:
    api.CharacterData.afterHTML api.CharacterData.afterHTMLUnsafe api.CharacterData.beforeHTML api.CharacterData.beforeHTMLUnsafe api.CharacterData.replaceWithHTML api.CharacterData.replaceWithHTMLUnsafe api.Element.afterHTML api.Element.afterHTMLUnsafe api.Element.appendHTML api.Element.appendHTMLUnsafe api.Element.beforeHTML api.Element.beforeHTMLUnsafe api.Element.prependHTML api.Element.prependHTMLUnsafe api.Element.replaceWithHTML api.Element.replaceWithHTMLUnsafe api.Element.setHTMLUnsafe.options_runscripts_parameter api.ShadowRoot.afterHTML api.ShadowRoot.afterHTMLUnsafe api.ShadowRoot.appendHTML api.ShadowRoot.appendHTMLUnsafe api.ShadowRoot.beforeHTML api.ShadowRoot.beforeHTMLUnsafe api.ShadowRoot.prependHTML api.ShadowRoot.prependHTMLUnsafe api.ShadowRoot.replaceWithHTML api.ShadowRoot.replaceWithHTMLUnsafe api.ShadowRoot.setHTMLUnsafe.options_runscripts_parameter api.TrustedHTMLParserOptions.runScripts api.TrustedHTMLParserOptions.sanitizer

WebViews are not part of Baseline Baseline logo We do web-features computation using web-features-plus-webview

Know something we don't?

Is any of the above data outdated? Or do you want to add a new WebView to the list? Heads on to GitHub and edit the data file!

Not comfortable with GitHub? Send us an email.

Please help us keeping this data updated

This feature was last updated on October 10, 2026.