@@ -250,7 +250,7 @@ <h2>Extensibility</h2>
250
250
251
251
< pre class ="idl ">
252
252
interface mixin InnerHTML {
253
- [CEReactions] attribute [LegacyNullToEmptyString] DOMString innerHTML;
253
+ [CEReactions] attribute [LegacyNullToEmptyString] HTMLString innerHTML;
254
254
};
255
255
256
256
Element includes InnerHTML;
@@ -305,8 +305,8 @@ <h2>Extensibility</h2>
305
305
306
306
< pre class ="idl ">
307
307
partial interface Element {
308
- [CEReactions] attribute [LegacyNullToEmptyString] DOMString outerHTML;
309
- [CEReactions] undefined insertAdjacentHTML(DOMString position, DOMString text);
308
+ [CEReactions] attribute [LegacyNullToEmptyString] HTMLString outerHTML;
309
+ [CEReactions] undefined insertAdjacentHTML(DOMString position, HTMLString text);
310
310
};
311
311
</ pre >
312
312
@@ -482,7 +482,7 @@ <h2>Extensibility</h2>
482
482
483
483
< pre class ="idl ">
484
484
partial interface Range {
485
- [CEReactions, NewObject] DocumentFragment createContextualFragment(DOMString fragment);
485
+ [CEReactions, NewObject] DocumentFragment createContextualFragment(HTMLString fragment);
486
486
};
487
487
</ pre >
488
488
@@ -1765,6 +1765,12 @@ <h2>Dependencies</h2>
1765
1765
< ul >
1766
1766
< li > The < dfn data-lt ="LegacyNullToEmptyString "> < a href ="https://heycam.github.io/webidl/#LegacyNullToEmptyString "> [LegacyNullToEmptyString]</ a > </ dfn > IDL < a > extended attribute</ a >
1767
1767
</ ul >
1768
+
1769
+ The Trusted Types [[TRUSTED-TYPES]] specification defines:
1770
+
1771
+ < ul >
1772
+ < li > The < dfn data-lt ="HTMLString "> < a href ="https://w3c.github.io/trusted-types/dist/spec/#typedefdef-htmlstring "> HTMLString</ a > </ dfn > IDL < a > typedef</ a >
1773
+ </ ul >
1768
1774
</ section >
1769
1775
1770
1776
< section class =appendix >
0 commit comments