| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006 Apple Computer, Inc. | 2 * Copyright (C) 2006 Apple Computer, Inc. |
| 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> | 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> |
| 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 [RaisesException] boolean isPointInRange(Node refNode, long offset); | 64 [RaisesException] boolean isPointInRange(Node refNode, long offset); |
| 65 [RaisesException, TypeChecking=Interface] short comparePoint(Node refNode, l
ong offset); | 65 [RaisesException, TypeChecking=Interface] short comparePoint(Node refNode, l
ong offset); |
| 66 | 66 |
| 67 [RaisesException] boolean intersectsNode(Node refNode); | 67 [RaisesException] boolean intersectsNode(Node refNode); |
| 68 | 68 |
| 69 // CSSOM View Module API extensions | 69 // CSSOM View Module API extensions |
| 70 | 70 |
| 71 ClientRectList getClientRects(); | 71 ClientRectList getClientRects(); |
| 72 ClientRect getBoundingClientRect(); | 72 ClientRect getBoundingClientRect(); |
| 73 | 73 |
| 74 // WebKit extensions | |
| 75 | |
| 76 // CompareResults | 74 // CompareResults |
| 77 const unsigned short NODE_BEFORE = 0; | 75 const unsigned short NODE_BEFORE = 0; |
| 78 const unsigned short NODE_AFTER = 1; | 76 const unsigned short NODE_AFTER = 1; |
| 79 const unsigned short NODE_BEFORE_AND_AFTER = 2; | 77 const unsigned short NODE_BEFORE_AND_AFTER = 2; |
| 80 const unsigned short NODE_INSIDE = 3; | 78 const unsigned short NODE_INSIDE = 3; |
| 81 | 79 |
| 82 [RaisesException, MeasureAs=RangeCompareNode] short compareNode([Default=Und
efined] optional Node refNode); | 80 [RaisesException, MeasureAs=RangeCompareNode] short compareNode([Default=Und
efined] optional Node refNode); |
| 83 | 81 |
| 84 [RaisesException, MeasureAs=RangeExpand] void expand([Default=Undefined] opt
ional DOMString unit); | 82 [RaisesException, MeasureAs=RangeExpand] void expand([Default=Undefined] opt
ional DOMString unit); |
| 85 }; | 83 }; |
| OLD | NEW |