mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Make FocusEvent::new_uninitialized take a &Window
This commit is contained in:
parent
707f8f881e
commit
ee1ff1d385
3 changed files with 6 additions and 6 deletions
|
@ -3,7 +3,8 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
// https://w3c.github.io/uievents/#interface-FocusEvent
|
||||
[Constructor(DOMString typeArg, optional FocusEventInit focusEventInitDict)]
|
||||
[Constructor(DOMString typeArg, optional FocusEventInit focusEventInitDict),
|
||||
Exposed=Window]
|
||||
interface FocusEvent : UIEvent {
|
||||
readonly attribute EventTarget? relatedTarget;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue