| 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 | 59 |
| 60 Element elementFromPoint([Default=Undefined] optional long x, | 60 Element elementFromPoint([Default=Undefined] optional long x, |
| 61 [Default=Undefined] optional long y); | 61 [Default=Undefined] optional long y); |
| 62 [MeasureAs=DocumentCaretRangeFromPoint] | 62 [MeasureAs=DocumentCaretRangeFromPoint] |
| 63 Range caretRangeFromPoint([Default=Undefined] optional long x, | 63 Range caretRangeFromPoint([Default=Undefined] optional long x, |
| 64 [Default=Undefined] optional long y); | 64 [Default=Undefined] optional long y); |
| 65 | 65 |
| 66 // Mozilla extensions | 66 // Mozilla extensions |
| 67 Selection getSelection(); | 67 Selection getSelection(); |
| 68 | 68 |
| 69 [MeasureAs=DocumentGetCSSCanvasContext] RenderingContext getCSSCanvasContext
(DOMString contextId, DOMString name, long width, long height); | |
| 70 | |
| 71 // HTML 5 | 69 // HTML 5 |
| 72 readonly attribute Element activeElement; | 70 readonly attribute Element activeElement; |
| 73 boolean hasFocus(); | 71 boolean hasFocus(); |
| 74 | 72 |
| 75 [CallWith=ScriptState, CustomElementCallbacks, RaisesException, MeasureAs=Do
cumentRegisterElement] CustomElementConstructor registerElement(DOMString name,
optional Dictionary options); | 73 [CallWith=ScriptState, CustomElementCallbacks, RaisesException, MeasureAs=Do
cumentRegisterElement] CustomElementConstructor registerElement(DOMString name,
optional Dictionary options); |
| 76 | 74 |
| 77 // Page visibility API. | 75 // Page visibility API. |
| 78 readonly attribute DOMString visibilityState; | 76 readonly attribute DOMString visibilityState; |
| 79 readonly attribute boolean hidden; | 77 readonly attribute boolean hidden; |
| 80 | 78 |
| 81 readonly attribute HTMLScriptElement currentScript; | 79 readonly attribute HTMLScriptElement currentScript; |
| 82 }; | 80 }; |
| 83 | 81 |
| 84 Document implements ParentNode; | 82 Document implements ParentNode; |
| OLD | NEW |