| 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 [RuntimeEnabled=CSSOMSmoothScroll] void scrollBy(optional ScrollToOptions op
tions); | 86 [RuntimeEnabled=CSSOMSmoothScroll] void scrollBy(optional ScrollToOptions op
tions); |
| 87 [RuntimeEnabled=CSSOMSmoothScroll] void scrollBy(unrestricted double x, unre
stricted double y); | 87 [RuntimeEnabled=CSSOMSmoothScroll] void scrollBy(unrestricted double x, unre
stricted double y); |
| 88 attribute unrestricted double scrollTop; | 88 attribute unrestricted double scrollTop; |
| 89 attribute unrestricted double scrollLeft; | 89 attribute unrestricted double scrollLeft; |
| 90 readonly attribute long scrollWidth; | 90 readonly attribute long scrollWidth; |
| 91 readonly attribute long scrollHeight; | 91 readonly attribute long scrollHeight; |
| 92 readonly attribute long clientTop; | 92 readonly attribute long clientTop; |
| 93 readonly attribute long clientLeft; | 93 readonly attribute long clientLeft; |
| 94 readonly attribute long clientWidth; | 94 readonly attribute long clientWidth; |
| 95 readonly attribute long clientHeight; | 95 readonly attribute long clientHeight; |
| 96 // http://dev.w3.org/csswg/cssom-view/#extensions-to-the-htmlelement-interfa
ce | |
| 97 // FIXME: offset* should be on HTMLElement. | |
| 98 [ImplementedAs=offsetParentForBindings, PerWorldBindings] readonly attribute
Element? offsetParent; | |
| 99 readonly attribute long offsetTop; | |
| 100 readonly attribute long offsetLeft; | |
| 101 readonly attribute long offsetWidth; | |
| 102 readonly attribute long offsetHeight; | |
| 103 | 96 |
| 104 // CSS Object Model (CSSOM) | 97 // CSS Object Model (CSSOM) |
| 105 // http://dev.w3.org/csswg/cssom/#the-elementcssinlinestyle-interface | 98 // http://dev.w3.org/csswg/cssom/#the-elementcssinlinestyle-interface |
| 106 // FIXME: style should be on HTMLElement and SVGElement. | 99 // FIXME: style should be on HTMLElement and SVGElement. |
| 107 // FIXME: style should have [PutForwards=cssText]. | 100 // FIXME: style should have [PutForwards=cssText]. |
| 108 [PerWorldBindings] readonly attribute CSSStyleDeclaration style; | 101 [PerWorldBindings] readonly attribute CSSStyleDeclaration style; |
| 109 | 102 |
| 110 // HTML | 103 // HTML |
| 111 // https://html.spec.whatwg.org/#htmlelement | 104 // https://html.spec.whatwg.org/#htmlelement |
| 112 // FIXME: dataset, focus() and blur() should be on HTMLElement. | 105 // FIXME: dataset, focus() and blur() should be on HTMLElement. |
| (...skipping 27 matching lines...) Expand all Loading... |
| 140 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel; | 133 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel; |
| 141 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; | 134 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; |
| 142 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; | 135 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; |
| 143 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; | 136 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; |
| 144 attribute EventHandler onwheel; | 137 attribute EventHandler onwheel; |
| 145 }; | 138 }; |
| 146 | 139 |
| 147 Element implements ParentNode; | 140 Element implements ParentNode; |
| 148 Element implements ChildNode; | 141 Element implements ChildNode; |
| 149 Element implements NonDocumentTypeChildNode; | 142 Element implements NonDocumentTypeChildNode; |
| OLD | NEW |