mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:07:45 +00:00
LibWeb: Implement (most of) HTMLElement.focus()
The main deviation from the spec is that we don't have a straightforward representation of the spec's "focusable area" concept. I've left a bunch of FIXME's around for our future selves. :^)
This commit is contained in:
parent
1165a94624
commit
a062e803c5
3 changed files with 213 additions and 0 deletions
|
@ -7,6 +7,9 @@ interface HTMLElement : Element {
|
|||
|
||||
attribute DOMString contentEditable;
|
||||
|
||||
// FIXME: Support the optional FocusOptions parameter.
|
||||
undefined focus();
|
||||
|
||||
[LegacyNullToEmptyString] attribute DOMString innerText;
|
||||
|
||||
readonly attribute long offsetTop;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue