| 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 [RuntimeEnabled=CSSOMSmoothScroll] void scrollBy(unrestricted double x, unre
stricted double y); | 98 [RuntimeEnabled=CSSOMSmoothScroll] void scrollBy(unrestricted double x, unre
stricted double y); |
| 99 attribute unrestricted double scrollTop; | 99 attribute unrestricted double scrollTop; |
| 100 attribute unrestricted double scrollLeft; | 100 attribute unrestricted double scrollLeft; |
| 101 readonly attribute long scrollWidth; | 101 readonly attribute long scrollWidth; |
| 102 readonly attribute long scrollHeight; | 102 readonly attribute long scrollHeight; |
| 103 readonly attribute long clientTop; | 103 readonly attribute long clientTop; |
| 104 readonly attribute long clientLeft; | 104 readonly attribute long clientLeft; |
| 105 readonly attribute long clientWidth; | 105 readonly attribute long clientWidth; |
| 106 readonly attribute long clientHeight; | 106 readonly attribute long clientHeight; |
| 107 | 107 |
| 108 // Visual Viewport API. |
| 109 [RuntimeEnabled=VisualViewportAPI] readonly attribute VisualViewport? viewpo
rt; |
| 110 |
| 108 // Scroll Customization API. See crbug.com/410974 for details. | 111 // Scroll Customization API. See crbug.com/410974 for details. |
| 109 [RuntimeEnabled=ScrollCustomization] void setApplyScroll(ScrollStateCallback
scrollStateCallback, NativeScrollBehavior nativeScrollBehavior); | 112 [RuntimeEnabled=ScrollCustomization] void setApplyScroll(ScrollStateCallback
scrollStateCallback, NativeScrollBehavior nativeScrollBehavior); |
| 110 [RuntimeEnabled=ScrollCustomization] void setDistributeScroll(ScrollStateCal
lback scrollStateCallback, NativeScrollBehavior nativeScrollBehavior); | 113 [RuntimeEnabled=ScrollCustomization] void setDistributeScroll(ScrollStateCal
lback scrollStateCallback, NativeScrollBehavior nativeScrollBehavior); |
| 111 | 114 |
| 112 // Non-standard APIs | 115 // Non-standard APIs |
| 113 // https://www.w3.org/Bugs/Public/show_bug.cgi?id=19962 | 116 // https://www.w3.org/Bugs/Public/show_bug.cgi?id=19962 |
| 114 [RaisesException, CustomElementCallbacks, MeasureAs=InsertAdjacentElement] E
lement insertAdjacentElement(DOMString where, Element element); | 117 [RaisesException, CustomElementCallbacks, MeasureAs=InsertAdjacentElement] E
lement insertAdjacentElement(DOMString where, Element element); |
| 115 [RaisesException, MeasureAs=InsertAdjacentText] void insertAdjacentText(DOMS
tring where, DOMString text); | 118 [RaisesException, MeasureAs=InsertAdjacentText] void insertAdjacentText(DOMS
tring where, DOMString text); |
| 116 [MeasureAs=ElementScrollIntoViewIfNeeded] void scrollIntoViewIfNeeded(option
al boolean centerIfNeeded); | 119 [MeasureAs=ElementScrollIntoViewIfNeeded] void scrollIntoViewIfNeeded(option
al boolean centerIfNeeded); |
| 117 [RaisesException, ImplementedAs=matches, MeasureAs=ElementPrefixedMatchesSel
ector] boolean webkitMatchesSelector(DOMString selectors); | 120 [RaisesException, ImplementedAs=matches, MeasureAs=ElementPrefixedMatchesSel
ector] boolean webkitMatchesSelector(DOMString selectors); |
| (...skipping 15 matching lines...) Expand all Loading... |
| 133 | 136 |
| 134 // Pointerevent attributes (http://www.w3.org/TR/pointerevents/#extensions-t
o-the-element-interface) | 137 // Pointerevent attributes (http://www.w3.org/TR/pointerevents/#extensions-t
o-the-element-interface) |
| 135 [RuntimeEnabled=PointerEvent] attribute EventHandler ongotpointercapture; | 138 [RuntimeEnabled=PointerEvent] attribute EventHandler ongotpointercapture; |
| 136 [RuntimeEnabled=PointerEvent] attribute EventHandler onlostpointercapture; | 139 [RuntimeEnabled=PointerEvent] attribute EventHandler onlostpointercapture; |
| 137 | 140 |
| 138 }; | 141 }; |
| 139 | 142 |
| 140 Element implements ParentNode; | 143 Element implements ParentNode; |
| 141 Element implements ChildNode; | 144 Element implements ChildNode; |
| 142 Element implements NonDocumentTypeChildNode; | 145 Element implements NonDocumentTypeChildNode; |
| OLD | NEW |