diff --git a/custom-elements/HTMLElement-attachInternals.html b/custom-elements/HTMLElement-attachInternals.html new file mode 100644 index 00000000000000..e537983059054e --- /dev/null +++ b/custom-elements/HTMLElement-attachInternals.html @@ -0,0 +1,82 @@ + + + + + +
+ + diff --git a/interfaces/html.idl b/interfaces/html.idl index f530f3559b68af..641213d1bb6fd4 100644 --- a/interfaces/html.idl +++ b/interfaces/html.idl @@ -114,6 +114,8 @@ interface HTMLElement : Element { [CEReactions] attribute DOMString autocapitalize; [CEReactions] attribute [TreatNullAs=EmptyString] DOMString innerText; + + ElementInternals attachInternals(); }; HTMLElement includes GlobalEventHandlers; @@ -1410,6 +1412,11 @@ dictionary ElementDefinitionOptions { DOMString extends; }; +[Exposed=Window] +interface ElementInternals { + +}; + dictionary FocusOptions { boolean preventScroll = false; };