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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 [RaisesException] short comparePoint(Node node, long offset); | 61 [RaisesException] short comparePoint(Node node, long offset); |
62 | 62 |
63 [RaisesException] boolean intersectsNode(Node node); | 63 [RaisesException] boolean intersectsNode(Node node); |
64 | 64 |
65 stringifier; | 65 stringifier; |
66 | 66 |
67 // CSSOM View Module | 67 // CSSOM View Module |
68 // https://dev.w3.org/csswg/cssom-view/#extensions-to-the-range-interface | 68 // https://dev.w3.org/csswg/cssom-view/#extensions-to-the-range-interface |
69 // FIXME: getClientRect() and getBoundingClientRect() should | 69 // FIXME: getClientRect() and getBoundingClientRect() should |
70 // return DOMRectList and DOMRect respectively. | 70 // return DOMRectList and DOMRect respectively. |
71 ClientRectList getClientRects(); | 71 [Measure] ClientRectList getClientRects(); |
72 ClientRect getBoundingClientRect(); | 72 [Measure] ClientRect getBoundingClientRect(); |
73 | 73 |
74 // DOM Parsing and Serialization | 74 // DOM Parsing and Serialization |
75 // https://w3c.github.io/DOM-Parsing/#extensions-to-the-range-interface | 75 // https://w3c.github.io/DOM-Parsing/#extensions-to-the-range-interface |
76 [NewObject, RaisesException, CEReactions, CustomElementCallbacks] DocumentFr
agment createContextualFragment(DOMString fragment); | 76 [NewObject, RaisesException, CEReactions, CustomElementCallbacks] DocumentFr
agment createContextualFragment(DOMString fragment); |
77 | 77 |
78 // Non-standard API | 78 // Non-standard API |
79 [RaisesException, DeprecateAs=RangeExpand] void expand([Default=Undefined] o
ptional DOMString unit); | 79 [RaisesException, DeprecateAs=RangeExpand] void expand([Default=Undefined] o
ptional DOMString unit); |
80 }; | 80 }; |
OLD | NEW |