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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 | 51 |
52 [RaisesException, CustomElementCallbacks] void deleteContents(); | 52 [RaisesException, CustomElementCallbacks] void deleteContents(); |
53 [RaisesException, CustomElementCallbacks] DocumentFragment extractContents()
; | 53 [RaisesException, CustomElementCallbacks] DocumentFragment extractContents()
; |
54 [RaisesException, CustomElementCallbacks] DocumentFragment cloneContents(); | 54 [RaisesException, CustomElementCallbacks] DocumentFragment cloneContents(); |
55 [RaisesException, CustomElementCallbacks] void insertNode(Node newNode); | 55 [RaisesException, CustomElementCallbacks] void insertNode(Node newNode); |
56 [RaisesException, CustomElementCallbacks] void surroundContents(Node newPare
nt); | 56 [RaisesException, CustomElementCallbacks] void surroundContents(Node newPare
nt); |
57 Range cloneRange(); | 57 Range cloneRange(); |
58 | 58 |
59 stringifier; | 59 stringifier; |
60 | 60 |
61 [DeprecateAs=RangeDetach] void detach(); | 61 void detach(); |
62 | 62 |
63 [RaisesException] boolean isPointInRange(Node refNode, long offset); | 63 [RaisesException] boolean isPointInRange(Node refNode, long offset); |
64 [RaisesException, TypeChecking=Interface] short comparePoint(Node refNode, l
ong offset); | 64 [RaisesException, TypeChecking=Interface] short comparePoint(Node refNode, l
ong offset); |
65 | 65 |
66 [RaisesException] boolean intersectsNode(Node refNode); | 66 [RaisesException] boolean intersectsNode(Node refNode); |
67 | 67 |
68 // CSSOM View Module API extensions | 68 // CSSOM View Module API extensions |
69 | 69 |
70 ClientRectList getClientRects(); | 70 ClientRectList getClientRects(); |
71 ClientRect getBoundingClientRect(); | 71 ClientRect getBoundingClientRect(); |
72 | 72 |
73 // CompareResults | 73 // CompareResults |
74 const unsigned short NODE_BEFORE = 0; | 74 const unsigned short NODE_BEFORE = 0; |
75 const unsigned short NODE_AFTER = 1; | 75 const unsigned short NODE_AFTER = 1; |
76 const unsigned short NODE_BEFORE_AND_AFTER = 2; | 76 const unsigned short NODE_BEFORE_AND_AFTER = 2; |
77 const unsigned short NODE_INSIDE = 3; | 77 const unsigned short NODE_INSIDE = 3; |
78 | 78 |
79 [RaisesException, MeasureAs=RangeCompareNode] short compareNode([Default=Und
efined] optional Node refNode); | 79 [RaisesException] short compareNode([Default=Undefined] optional Node refNod
e); |
80 | 80 |
81 [RaisesException, MeasureAs=RangeExpand] void expand([Default=Undefined] opt
ional DOMString unit); | 81 [RaisesException] void expand([Default=Undefined] optional DOMString unit); |
82 }; | 82 }; |
OLD | NEW |