summaryrefslogtreecommitdiff
path: root/Source/WebCore/dom/FocusEvent.idl
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/dom/FocusEvent.idl')
-rw-r--r--Source/WebCore/dom/FocusEvent.idl9
1 files changed, 6 insertions, 3 deletions
diff --git a/Source/WebCore/dom/FocusEvent.idl b/Source/WebCore/dom/FocusEvent.idl
index fc422c3f9..48a68f003 100644
--- a/Source/WebCore/dom/FocusEvent.idl
+++ b/Source/WebCore/dom/FocusEvent.idl
@@ -24,8 +24,11 @@
*/
[
- ConstructorConditional=DOM4_EVENTS_CONSTRUCTOR,
- ConstructorTemplate=Event
+ Constructor(DOMString type, optional FocusEventInit eventInitDict),
] interface FocusEvent : UIEvent {
- [InitializedByEventConstructor] readonly attribute EventTarget relatedTarget;
+ readonly attribute EventTarget? relatedTarget;
+};
+
+dictionary FocusEventInit : UIEventInit {
+ EventTarget? relatedTarget = null;
};