mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 10:37:45 +00:00
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.
This commit is contained in:
parent
f08a979b96
commit
a0d5724a58
3 changed files with 94 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue