mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 05:09:12 +00:00
LibWeb: Implement unsafe HTML parsing methods
Both Element's and ShadowRoot's setHTMLUnsafe, and Document's static parseHTMLUnsafe methods are implemented.
This commit is contained in:
parent
58fc901578
commit
ce8d3d17c4
Notes:
sideshowbarker
2024-07-17 01:55:29 +09:00
Author: https://github.com/lukewarlow
Commit: ce8d3d17c4
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/282
Reviewed-by: https://github.com/AtkinsSJ
14 changed files with 129 additions and 31 deletions
|
@ -15,7 +15,8 @@ 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: [CEReactions] undefined setHTMLUnsafe((TrustedHTML or DOMString) html);
|
||||
[CEReactions] undefined setHTMLUnsafe(DOMString html);
|
||||
DOMString getHTML(optional GetHTMLOptions options = {});
|
||||
|
||||
// FIXME: [CEReactions] attribute (TrustedHTML or [LegacyNullToEmptyString] DOMString) innerHTML;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue