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 46d0b852f095a6..3a8af03f828628 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; @@ -1408,6 +1410,11 @@ dictionary ElementDefinitionOptions { DOMString extends; }; +[Exposed=Window] +interface ElementInternals { + +}; + dictionary FocusOptions { boolean preventScroll = false; };