| 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 [Default=Undefined] opti
onal EventTarget? relatedTarget); | 55 [Default=Undefined] opti
onal EventTarget? relatedTarget); |
| 56 | 56 |
| 57 readonly attribute double pageX; | 57 readonly attribute double pageX; |
| 58 readonly attribute double pageY; | 58 readonly attribute double pageY; |
| 59 [MeasureAs=MouseEventX] readonly attribute double x; | 59 [MeasureAs=MouseEventX] readonly attribute double x; |
| 60 [MeasureAs=MouseEventY] readonly attribute double y; | 60 [MeasureAs=MouseEventY] readonly attribute double y; |
| 61 [MeasureAs=MouseEventOffsetX] readonly attribute double offsetX; | 61 [MeasureAs=MouseEventOffsetX] readonly attribute double offsetX; |
| 62 [MeasureAs=MouseEventOffsetY] readonly attribute double offsetY; | 62 [MeasureAs=MouseEventOffsetY] readonly attribute double offsetY; |
| 63 | 63 |
| 64 // Pointer Lock | 64 // Pointer Lock |
| 65 // https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#extensions
-to-the-mouseevent-interface | 65 // https://w3c.github.io/pointerlock/#extensions-to-the-mouseevent-interface |
| 66 [MeasureAs=MouseEventMovementX] readonly attribute long movementX; | 66 [MeasureAs=MouseEventMovementX] readonly attribute long movementX; |
| 67 [MeasureAs=MouseEventMovementY] readonly attribute long movementY; | 67 [MeasureAs=MouseEventMovementY] readonly attribute long movementY; |
| 68 | 68 |
| 69 // Canvas Hit Regions | 69 // Canvas Hit Regions |
| 70 // https://html.spec.whatwg.org/multipage/scripting.html#MouseEvent-partial | 70 // https://html.spec.whatwg.org/multipage/scripting.html#MouseEvent-partial |
| 71 [RuntimeEnabled=ExperimentalCanvasFeatures] readonly attribute DOMString? re
gion; | 71 [RuntimeEnabled=ExperimentalCanvasFeatures] readonly attribute DOMString? re
gion; |
| 72 | 72 |
| 73 // Non-standard | 73 // Non-standard |
| 74 [MeasureAs=MouseEventFromElement] readonly attribute Node fromElement; | 74 [MeasureAs=MouseEventFromElement] readonly attribute Node fromElement; |
| 75 [MeasureAs=MouseEventToElement] readonly attribute Node toElement; | 75 [MeasureAs=MouseEventToElement] readonly attribute Node toElement; |
| 76 [MeasureAs=MouseEventWhich] readonly attribute long which; | 76 [MeasureAs=MouseEventWhich] readonly attribute long which; |
| 77 [Measure] readonly attribute long layerX; | 77 [Measure] readonly attribute long layerX; |
| 78 [Measure] readonly attribute long layerY; | 78 [Measure] readonly attribute long layerY; |
| 79 }; | 79 }; |
| OLD | NEW |