OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2011 Apple Inc. All rights reserved. |
3 * Copyright (C) 2006, 2007 Samuel Weinig <sam@webkit.org> | 3 * Copyright (C) 2006, 2007 Samuel Weinig <sam@webkit.org> |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 | 66 |
67 // Mozilla extensions | 67 // Mozilla extensions |
68 Selection getSelection(); | 68 Selection getSelection(); |
69 | 69 |
70 [MeasureAs=DocumentGetCSSCanvasContext] RenderingContext getCSSCanvasContext
(DOMString contextId, DOMString name, long width, long height); | 70 [MeasureAs=DocumentGetCSSCanvasContext] RenderingContext getCSSCanvasContext
(DOMString contextId, DOMString name, long width, long height); |
71 | 71 |
72 // HTML 5 | 72 // HTML 5 |
73 readonly attribute Element activeElement; | 73 readonly attribute Element activeElement; |
74 boolean hasFocus(); | 74 boolean hasFocus(); |
75 | 75 |
76 [RuntimeEnabled=Touch] Touch createTouch([Default=Undefined] optional Window
window, | |
77 [Default=Undefined] optional EventT
arget target, | |
78 [Default=Undefined] optional long i
dentifier, | |
79 [Default=Undefined] optional double
pageX, | |
80 [Default=Undefined] optional double
pageY, | |
81 [Default=Undefined] optional double
screenX, | |
82 [Default=Undefined] optional double
screenY, | |
83 [Default=Undefined] optional double
radiusX, | |
84 [Default=Undefined] optional double
radiusY, | |
85 [Default=Undefined] optional float
rotationAngle, | |
86 [Default=Undefined] optional float
force); | |
87 [RuntimeEnabled=Touch] TouchList createTouchList(Touch... touches); | |
88 | |
89 [CallWith=ScriptState, CustomElementCallbacks, RaisesException, MeasureAs=Do
cumentRegisterElement] CustomElementConstructor registerElement(DOMString name,
optional Dictionary options); | 76 [CallWith=ScriptState, CustomElementCallbacks, RaisesException, MeasureAs=Do
cumentRegisterElement] CustomElementConstructor registerElement(DOMString name,
optional Dictionary options); |
90 | 77 |
91 // Page visibility API. | 78 // Page visibility API. |
92 readonly attribute DOMString visibilityState; | 79 readonly attribute DOMString visibilityState; |
93 readonly attribute boolean hidden; | 80 readonly attribute boolean hidden; |
94 | 81 |
95 readonly attribute HTMLScriptElement currentScript; | 82 readonly attribute HTMLScriptElement currentScript; |
96 }; | 83 }; |
97 | 84 |
98 Document implements ParentNode; | 85 Document implements ParentNode; |
OLD | NEW |