LibWeb: Add Element.getHTML() and ShadowRoot.getHTML()

This commit is contained in:
Andreas Kling 2024-06-25 14:52:06 +02:00 committed by Andreas Kling
commit fb9f3f10f3
Notes: sideshowbarker 2024-07-17 07:14:09 +09:00
7 changed files with 32 additions and 2 deletions

View file

@ -16,7 +16,7 @@ interface ShadowRoot : DocumentFragment {
// https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#dom-parsing-and-serialization
[FIXME, CEReactions] undefined setHTMLUnsafe((TrustedHTML or DOMString) html);
[FIXME] DOMString getHTML(optional GetHTMLOptions options = {});
DOMString getHTML(optional GetHTMLOptions options = {});
// FIXME: [CEReactions] attribute (TrustedHTML or [LegacyNullToEmptyString] DOMString) innerHTML;
[CEReactions, LegacyNullToEmptyString] attribute DOMString innerHTML;