// GENERATED CONTENT - DO NOT EDIT // Content was automatically extracted by Reffy into webref // (https://github.com/w3c/webref) // Source: HTML Sanitizer API (https://wicg.github.io/sanitizer-api/) partial interface Element { [CEReactions] undefined setHTMLUnsafe__TO_BE_MERGED(DOMString html, optional SanitizerConfig config = {}); [CEReactions] undefined setHTML(DOMString html, optional SanitizerConfig config = {}); }; partial interface ShadowRoot { [CEReactions] undefined setHTMLUnsafe__TO_BE_MERGED(DOMString html, optional SanitizerConfig config = {}); [CEReactions] undefined setHTML(DOMString html, optional SanitizerConfig config = {}); }; partial interface Document { static Document parseHTMLUnsafe__TO_BE_MERGED(DOMString html, optional SanitizerConfig config = {}); static Document parseHTML(DOMString html, optional SanitizerConfig config = {}); }; dictionary SanitizerElementNamespace { required DOMString name; DOMString? _namespace = "http://www.w3.org/1999/xhtml"; }; // Used by "elements" dictionary SanitizerElementNamespaceWithAttributes : SanitizerElementNamespace { sequence attributes; sequence removeAttributes; }; typedef (DOMString or SanitizerElementNamespace) SanitizerElement; typedef (DOMString or SanitizerElementNamespaceWithAttributes) SanitizerElementWithAttributes; dictionary SanitizerAttributeNamespace { required DOMString name; DOMString? _namespace = null; }; typedef (DOMString or SanitizerAttributeNamespace) SanitizerAttribute; dictionary SanitizerConfig { sequence elements; sequence removeElements; sequence replaceWithChildrenElements; sequence attributes; sequence removeAttributes; boolean comments; boolean dataAttributes; };