OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
8 * | 8 * |
9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 [MeasureAs=MouseEventX] readonly attribute long x; | 63 [MeasureAs=MouseEventX] readonly attribute long x; |
64 [MeasureAs=MouseEventY] readonly attribute long y; | 64 [MeasureAs=MouseEventY] readonly attribute long y; |
65 [MeasureAs=MouseEventOffsetX] readonly attribute long offsetX; | 65 [MeasureAs=MouseEventOffsetX] readonly attribute long offsetX; |
66 [MeasureAs=MouseEventOffsetY] readonly attribute long offsetY; | 66 [MeasureAs=MouseEventOffsetY] readonly attribute long offsetY; |
67 | 67 |
68 // Pointer Lock | 68 // Pointer Lock |
69 // https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#extensions
-to-the-mouseevent-interface | 69 // https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#extensions
-to-the-mouseevent-interface |
70 [MeasureAs=MouseEventMovementX] readonly attribute long movementX; | 70 [MeasureAs=MouseEventMovementX] readonly attribute long movementX; |
71 [MeasureAs=MouseEventMovementY] readonly attribute long movementY; | 71 [MeasureAs=MouseEventMovementY] readonly attribute long movementY; |
72 | 72 |
| 73 // Canvas Hit Regions |
| 74 // https://html.spec.whatwg.org/multipage/scripting.html#MouseEvent-partial |
| 75 [RuntimeEnabled=ExperimentalCanvasFeatures] readonly attribute DOMString? re
gion; |
| 76 |
73 // Non-standard | 77 // Non-standard |
74 [MeasureAs=MouseEventFromElement] readonly attribute Node fromElement; | 78 [MeasureAs=MouseEventFromElement] readonly attribute Node fromElement; |
75 [MeasureAs=MouseEventToElement] readonly attribute Node toElement; | 79 [MeasureAs=MouseEventToElement] readonly attribute Node toElement; |
76 [MeasureAs=MouseEventWhich] readonly attribute long which; | 80 [MeasureAs=MouseEventWhich] readonly attribute long which; |
77 [Measure] readonly attribute long layerX; | 81 [Measure] readonly attribute long layerX; |
78 [Measure] readonly attribute long layerY; | 82 [Measure] readonly attribute long layerY; |
79 }; | 83 }; |
OLD | NEW |