@@ -24,6 +24,10 @@ abstract xhp class HTMLElementBase extends SGMLStream\RootElement {
2424 ' words' ,
2525 ' characters' ,
2626 } autocapitalize ,
27+ /**
28+ * @see https://html.spec.whatwg.org/multipage/interaction.html#attr-autocorrect
29+ */
30+ enum {' ' , ' on' , ' off' } autocorrect ,
2731 /**
2832 * @see https://html.spec.whatwg.org/multipage/#attr-fe-autofocus
2933 */
@@ -70,6 +74,10 @@ abstract xhp class HTMLElementBase extends SGMLStream\RootElement {
7074 * least one character in length and without ascii whitespace.
7175 */
7276 string id ,
77+ /**
78+ * @see https://html.spec.whatwg.org/multipage/interaction.html#the-inert-attribute
79+ */
80+ SGMLStreamInterfaces \BooleanAttribute inert ,
7381 /**
7482 * @see https://html.spec.whatwg.org/multipage/#attr-inputmode
7583 */
@@ -123,6 +131,10 @@ abstract xhp class HTMLElementBase extends SGMLStream\RootElement {
123131 * Any text is allowed.
124132 */
125133 string nonce ,
134+ /**
135+ * @see https://html.spec.whatwg.org/multipage/popover.html#attr-popover
136+ */
137+ enum {' ' , ' auto' , ' manual' , ' hint' } popover ,
126138 /**
127139 * @see https://html.spec.whatwg.org/multipage/#handler-onabort
128140 */
@@ -131,6 +143,18 @@ abstract xhp class HTMLElementBase extends SGMLStream\RootElement {
131143 * @see https://html.spec.whatwg.org/multipage/#handler-onauxclick
132144 */
133145 string onauxclick ,
146+ /**
147+ * @see https://html.spec.whatwg.org/multipage/webappapis.html#handler-onbeforeinput
148+ */
149+ string onbeforeinput ,
150+ /**
151+ * @see https://html.spec.whatwg.org/multipage/webappapis.html#handler-onbeforematch
152+ */
153+ string onbeforematch ,
154+ /**
155+ * @see https://html.spec.whatwg.org/multipage/webappapis.html#handler-onbeforetoggle
156+ */
157+ string onbeforetoggle ,
134158 /**
135159 * @see https://html.spec.whatwg.org/multipage/#handler-onblur
136160 */
@@ -159,10 +183,22 @@ abstract xhp class HTMLElementBase extends SGMLStream\RootElement {
159183 * @see https://html.spec.whatwg.org/multipage/#handler-onclose
160184 */
161185 string onclose ,
186+ /**
187+ * @see https://html.spec.whatwg.org/multipage/webappapis.html#handler-oncommand
188+ */
189+ string oncommand ,
190+ /**
191+ * @see https://html.spec.whatwg.org/multipage/webappapis.html#handler-oncontextlost
192+ */
193+ string oncontextlost ,
162194 /**
163195 * @see https://html.spec.whatwg.org/multipage/#handler-oncontextmenu
164196 */
165197 string oncontextmenu ,
198+ /**
199+ * @see https://html.spec.whatwg.org/multipage/webappapis.html#handler-oncontextlost
200+ */
201+ string oncontextrestored ,
166202 /**
167203 * @see https://html.spec.whatwg.org/multipage/#handler-oncopy
168204 */
@@ -331,6 +367,10 @@ abstract xhp class HTMLElementBase extends SGMLStream\RootElement {
331367 * @see https://html.spec.whatwg.org/multipage/#handler-onscroll
332368 */
333369 string onscroll ,
370+ /**
371+ * @see https://html.spec.whatwg.org/multipage/webappapis.html#handler-onscrollend
372+ */
373+ string onscrollend ,
334374 /**
335375 * @see https://html.spec.whatwg.org/multipage/#handler-onsecuritypolicyviolation
336376 */
@@ -415,5 +455,9 @@ abstract xhp class HTMLElementBase extends SGMLStream\RootElement {
415455 /**
416456 * @see https://html.spec.whatwg.org/multipage/#attr-translate
417457 */
418- enum {' yes' , ' no' } translate ;
458+ enum {' yes' , ' no' } translate ,
459+ /**
460+ * @see https://html.spec.whatwg.org/multipage/interaction.html#attr-writingsuggestions
461+ */
462+ enum {' ' , ' true' , ' false' } writingsuggestions ;
419463}
0 commit comments