| 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 readonly attribute long scrollHeight; | 107 readonly attribute long scrollHeight; |
| 108 readonly attribute long clientTop; | 108 readonly attribute long clientTop; |
| 109 readonly attribute long clientLeft; | 109 readonly attribute long clientLeft; |
| 110 readonly attribute long clientWidth; | 110 readonly attribute long clientWidth; |
| 111 readonly attribute long clientHeight; | 111 readonly attribute long clientHeight; |
| 112 | 112 |
| 113 // Scroll Customization API. See crbug.com/410974 for details. | 113 // Scroll Customization API. See crbug.com/410974 for details. |
| 114 [RuntimeEnabled=ScrollCustomization] void setApplyScroll(ScrollStateCallback
scrollStateCallback, NativeScrollBehavior nativeScrollBehavior); | 114 [RuntimeEnabled=ScrollCustomization] void setApplyScroll(ScrollStateCallback
scrollStateCallback, NativeScrollBehavior nativeScrollBehavior); |
| 115 [RuntimeEnabled=ScrollCustomization] void setDistributeScroll(ScrollStateCal
lback scrollStateCallback, NativeScrollBehavior nativeScrollBehavior); | 115 [RuntimeEnabled=ScrollCustomization] void setDistributeScroll(ScrollStateCal
lback scrollStateCallback, NativeScrollBehavior nativeScrollBehavior); |
| 116 | 116 |
| 117 // Typed OM |
| 118 // https://drafts.css-houdini.org/css-typed-om/#inline-stylepropertymap-obje
cts |
| 119 [RuntimeEnabled=CSSTypedOM] readonly attribute StylePropertyMap styleMap; |
| 120 |
| 117 // Non-standard API | 121 // Non-standard API |
| 118 [MeasureAs=ElementScrollIntoViewIfNeeded] void scrollIntoViewIfNeeded(option
al boolean centerIfNeeded); | 122 [MeasureAs=ElementScrollIntoViewIfNeeded] void scrollIntoViewIfNeeded(option
al boolean centerIfNeeded); |
| 119 [RaisesException, CallWith=ScriptState, MeasureAs=ElementCreateShadowRoot] S
hadowRoot createShadowRoot(); | 123 [RaisesException, CallWith=ScriptState, MeasureAs=ElementCreateShadowRoot] S
hadowRoot createShadowRoot(); |
| 120 NodeList getDestinationInsertionPoints(); | 124 NodeList getDestinationInsertionPoints(); |
| 121 | 125 |
| 122 // Experimental accessibility API | 126 // Experimental accessibility API |
| 123 [RuntimeEnabled=ComputedAccessibilityInfo] readonly attribute DOMString? com
putedRole; | 127 [RuntimeEnabled=ComputedAccessibilityInfo] readonly attribute DOMString? com
putedRole; |
| 124 [RuntimeEnabled=ComputedAccessibilityInfo] readonly attribute DOMString? com
putedName; | 128 [RuntimeEnabled=ComputedAccessibilityInfo] readonly attribute DOMString? com
putedName; |
| 125 | 129 |
| 126 // Event handler attributes | 130 // Event handler attributes |
| 127 attribute EventHandler onbeforecopy; | 131 attribute EventHandler onbeforecopy; |
| 128 attribute EventHandler onbeforecut; | 132 attribute EventHandler onbeforecut; |
| 129 attribute EventHandler onbeforepaste; | 133 attribute EventHandler onbeforepaste; |
| 130 attribute EventHandler oncopy; | 134 attribute EventHandler oncopy; |
| 131 attribute EventHandler oncut; | 135 attribute EventHandler oncut; |
| 132 attribute EventHandler onpaste; | 136 attribute EventHandler onpaste; |
| 133 attribute EventHandler onsearch; | 137 attribute EventHandler onsearch; |
| 134 attribute EventHandler onselectstart; | 138 attribute EventHandler onselectstart; |
| 135 attribute EventHandler onwheel; | 139 attribute EventHandler onwheel; |
| 136 }; | 140 }; |
| 137 | 141 |
| 138 Element implements ParentNode; | 142 Element implements ParentNode; |
| 139 Element implements ChildNode; | 143 Element implements ChildNode; |
| 140 Element implements NonDocumentTypeChildNode; | 144 Element implements NonDocumentTypeChildNode; |
| OLD | NEW |