mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
feat: implement ShadowRoot::setHTMLUnsafe (#36240)
Implements #36166 --------- Signed-off-by: TG <ebiritg@gmail.com>
This commit is contained in:
parent
5cdb0865ba
commit
1a3f10bba4
11 changed files with 46 additions and 4940 deletions
|
@ -579,7 +579,7 @@ DOMInterfaces = {
|
|||
},
|
||||
|
||||
'ShadowRoot': {
|
||||
'canGc': ['ElementFromPoint', 'ElementsFromPoint', 'SetInnerHTML', 'GetHTML', 'InnerHTML'],
|
||||
'canGc': ['SetHTMLUnsafe', 'ElementFromPoint', 'ElementsFromPoint', 'SetInnerHTML', 'GetHTML', 'InnerHTML'],
|
||||
},
|
||||
|
||||
'StaticRange': {
|
||||
|
|
|
@ -25,7 +25,7 @@ ShadowRoot includes DocumentOrShadowRoot;
|
|||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-parsing-and-serialization
|
||||
partial interface ShadowRoot {
|
||||
// [CEReactions] undefined setHTMLUnsafe((TrustedHTML or DOMString) html);
|
||||
[CEReactions] undefined setHTMLUnsafe(DOMString html);
|
||||
DOMString getHTML(optional GetHTMLOptions options = {});
|
||||
|
||||
// [CEReactions] attribute (TrustedHTML or [LegacyNullToEmptyString] DOMString) innerHTML;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue