LibWeb: Stub out HTMLElement.accessKeyLabel

This commit is contained in:
Andreas Kling 2024-04-14 17:55:48 +02:00
commit afea8ccd43
Notes: sideshowbarker 2024-07-16 23:05:02 +09:00
3 changed files with 10 additions and 1 deletions

View file

@ -566,4 +566,11 @@ void HTMLElement::did_receive_focus()
browsing_context->set_cursor_position(DOM::Position::create(realm(), *this, 0));
}
// https://html.spec.whatwg.org/multipage/interaction.html#dom-accesskeylabel
String HTMLElement::access_key_label() const
{
dbgln("FIXME: Implement HTMLElement::access_key_label()");
return String {};
}
}

View file

@ -59,6 +59,8 @@ public:
void blur();
[[nodiscard]] String access_key_label() const;
bool fire_a_synthetic_pointer_event(FlyString const& type, DOM::Element& target, bool not_trusted);
// https://html.spec.whatwg.org/multipage/forms.html#category-label

View file

@ -20,7 +20,7 @@ interface HTMLElement : Element {
// FIXME: [CEReactions] attribute boolean inert;
undefined click();
// FIXME: [CEReactions] attribute DOMString accessKey;
// FIXME: readonly attribute DOMString accessKeyLabel;
readonly attribute DOMString accessKeyLabel;
// FIXME: [CEReactions] attribute boolean draggable;
// FIXME: [CEReactions] attribute boolean spellcheck;
// FIXME: [CEReactions] attribute DOMString autocapitalize;