diff options
author | Andrew Kaster <akaster@serenityos.org> | 2022-10-02 14:42:47 -0600 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-10-07 21:17:50 +0100 |
commit | a0d5724a58a0ce130a4712fc4a8bfa4b9636fd3b (patch) | |
tree | d747ecd220c6aaba5ea7914fa1bec84c23ca3217 /Userland/Libraries/LibWeb/HTML/HTMLElement.idl | |
parent | f08a979b96e92680dd0305e6d9b9d979d1e33602 (diff) | |
download | serenity-a0d5724a58a0ce130a4712fc4a8bfa4b9636fd3b.zip |
LibWeb: Add initial implementation of Element.blur()
This implementation includes a first cut at run the unfocusing steps
from the spec, with many things left unimplemented.
The viewport related spec steps in particular don't seem to map to
LibWeb concepts, which makes figuring out if things are properly focused
much more difficult.
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/HTMLElement.idl')
-rw-r--r-- | Userland/Libraries/LibWeb/HTML/HTMLElement.idl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLElement.idl index 9abdbdd538..81ac8c4597 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLElement.idl @@ -15,6 +15,8 @@ interface HTMLElement : Element { // FIXME: Support the optional FocusOptions parameter. undefined focus(); + undefined blur(); + [LegacyNullToEmptyString] attribute DOMString innerText; readonly attribute long offsetTop; |