Index: core/events/WheelEvent.idl |
diff --git a/core/events/WheelEvent.idl b/core/events/WheelEvent.idl |
index 91fcf88359db23f56fce26661e8302cb7562fe9a..cf556e4c1f0b75e7c55b462139a066207c54d9bf 100644 |
--- a/core/events/WheelEvent.idl |
+++ b/core/events/WheelEvent.idl |
@@ -19,22 +19,22 @@ |
* Boston, MA 02110-1301, USA. |
*/ |
-// Introduced in DOM Level 3: |
+// https://w3c.github.io/uievents/#interface-WheelEvent |
+ |
[ |
- EventConstructor, |
+ Constructor(DOMString type, optional WheelEventInit eventInitDict), |
] interface WheelEvent : MouseEvent { |
// DeltaModeCode |
- const unsigned long DOM_DELTA_PIXEL = 0x00; |
- const unsigned long DOM_DELTA_LINE = 0x01; |
- const unsigned long DOM_DELTA_PAGE = 0x02; |
- |
- [InitializedByEventConstructor] readonly attribute double deltaX; |
- [InitializedByEventConstructor] readonly attribute double deltaY; |
- [InitializedByEventConstructor] readonly attribute double deltaZ; |
- [InitializedByEventConstructor] readonly attribute unsigned long deltaMode; |
+ const unsigned long DOM_DELTA_PIXEL = 0x00; |
+ const unsigned long DOM_DELTA_LINE = 0x01; |
+ const unsigned long DOM_DELTA_PAGE = 0x02; |
+ readonly attribute double deltaX; |
+ readonly attribute double deltaY; |
+ readonly attribute double deltaZ; |
+ readonly attribute unsigned long deltaMode; |
- // Non-standard API. |
- [InitializedByEventConstructor, MeasureAs=WheelEventWheelDeltaX] readonly attribute long wheelDeltaX; |
- [InitializedByEventConstructor, MeasureAs=WheelEventWheelDeltaY] readonly attribute long wheelDeltaY; |
+ // Non-standard APIs |
+ [MeasureAs=WheelEventWheelDeltaX] readonly attribute long wheelDeltaX; |
+ [MeasureAs=WheelEventWheelDeltaY] readonly attribute long wheelDeltaY; |
[MeasureAs=WheelEventWheelDelta] readonly attribute long wheelDelta; |
}; |