OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2009 Apple Inc. All rights reserved. |
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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
88 // https://w3c.github.io/pointerlock/#extensions-to-the-element-interface | 88 // https://w3c.github.io/pointerlock/#extensions-to-the-element-interface |
89 [MeasureAs=ElementRequestPointerLock] void requestPointerLock(); | 89 [MeasureAs=ElementRequestPointerLock] void requestPointerLock(); |
90 | 90 |
91 // CSSOM View Module | 91 // CSSOM View Module |
92 // https://dev.w3.org/csswg/cssom-view/#extension-to-the-element-interface | 92 // https://dev.w3.org/csswg/cssom-view/#extension-to-the-element-interface |
93 // FIXME: getClientRect() and getBoundingClientRect() should | 93 // FIXME: getClientRect() and getBoundingClientRect() should |
94 // return DOMRectList and DOMRect respectively. | 94 // return DOMRectList and DOMRect respectively. |
95 ClientRectList getClientRects(); | 95 ClientRectList getClientRects(); |
96 ClientRect getBoundingClientRect(); | 96 ClientRect getBoundingClientRect(); |
97 | 97 |
98 void scrollIntoView(optional (ScrollIntoViewOptions or boolean)? arg); | 98 void scrollIntoView(optional (ScrollIntoViewOptions or boolean) arg); |
foolip
2017/06/16 08:20:33
Per https://github.com/w3c/csswg-drafts/pull/1505
| |
99 [RuntimeEnabled=CSSOMSmoothScroll, ImplementedAs=scrollTo] void scroll(optio nal ScrollToOptions options); | 99 [RuntimeEnabled=CSSOMSmoothScroll, ImplementedAs=scrollTo] void scroll(optio nal ScrollToOptions options); |
100 [RuntimeEnabled=CSSOMSmoothScroll, ImplementedAs=scrollTo] void scroll(unres tricted double x, unrestricted double y); | 100 [RuntimeEnabled=CSSOMSmoothScroll, ImplementedAs=scrollTo] void scroll(unres tricted double x, unrestricted double y); |
101 [RuntimeEnabled=CSSOMSmoothScroll] void scrollTo(optional ScrollToOptions op tions); | 101 [RuntimeEnabled=CSSOMSmoothScroll] void scrollTo(optional ScrollToOptions op tions); |
102 [RuntimeEnabled=CSSOMSmoothScroll] void scrollTo(unrestricted double x, unre stricted double y); | 102 [RuntimeEnabled=CSSOMSmoothScroll] void scrollTo(unrestricted double x, unre stricted double y); |
103 [RuntimeEnabled=CSSOMSmoothScroll] void scrollBy(optional ScrollToOptions op tions); | 103 [RuntimeEnabled=CSSOMSmoothScroll] void scrollBy(optional ScrollToOptions op tions); |
104 [RuntimeEnabled=CSSOMSmoothScroll] void scrollBy(unrestricted double x, unre stricted double y); | 104 [RuntimeEnabled=CSSOMSmoothScroll] void scrollBy(unrestricted double x, unre stricted double y); |
105 attribute unrestricted double scrollTop; | 105 attribute unrestricted double scrollTop; |
106 attribute unrestricted double scrollLeft; | 106 attribute unrestricted double scrollLeft; |
107 readonly attribute long scrollWidth; | 107 readonly attribute long scrollWidth; |
108 readonly attribute long scrollHeight; | 108 readonly attribute long scrollHeight; |
(...skipping 30 matching lines...) Expand all Loading... | |
139 attribute EventHandler oncut; | 139 attribute EventHandler oncut; |
140 attribute EventHandler onpaste; | 140 attribute EventHandler onpaste; |
141 attribute EventHandler onsearch; | 141 attribute EventHandler onsearch; |
142 attribute EventHandler onselectstart; | 142 attribute EventHandler onselectstart; |
143 attribute EventHandler onwheel; | 143 attribute EventHandler onwheel; |
144 }; | 144 }; |
145 | 145 |
146 Element implements ParentNode; | 146 Element implements ParentNode; |
147 Element implements ChildNode; | 147 Element implements ChildNode; |
148 Element implements NonDocumentTypeChildNode; | 148 Element implements NonDocumentTypeChildNode; |
OLD | NEW |