LibWeb: Minimally implement HTMLElement.inert and HTMLElement.accessKey

This commit adds attribute reflection but nothing else.
This commit is contained in:
Andreas Kling 2024-04-14 17:56:03 +02:00
parent afea8ccd43
commit e610346fab
Notes: sideshowbarker 2024-07-17 06:33:00 +09:00
2 changed files with 3 additions and 2 deletions

View file

@ -16,6 +16,7 @@ namespace AttributeNames {
__ENUMERATE_HTML_ATTRIBUTE(abbr) \
__ENUMERATE_HTML_ATTRIBUTE(accept) \
__ENUMERATE_HTML_ATTRIBUTE(accept_charset) \
__ENUMERATE_HTML_ATTRIBUTE(accesskey) \
__ENUMERATE_HTML_ATTRIBUTE(action) \
__ENUMERATE_HTML_ATTRIBUTE(align) \
__ENUMERATE_HTML_ATTRIBUTE(alink) \

View file

@ -17,9 +17,9 @@ interface HTMLElement : Element {
// user interaction
[Reflect, CEReactions] attribute boolean hidden;
// FIXME: [CEReactions] attribute boolean inert;
[Reflect, CEReactions] attribute boolean inert;
undefined click();
// FIXME: [CEReactions] attribute DOMString accessKey;
[Reflect=accesskey, CEReactions] attribute DOMString accessKey;
readonly attribute DOMString accessKeyLabel;
// FIXME: [CEReactions] attribute boolean draggable;
// FIXME: [CEReactions] attribute boolean spellcheck;