| 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 | 117 // Typed OM |
| 118 // https://drafts.css-houdini.org/css-typed-om/#inline-stylepropertymap-obje
cts | 118 // https://drafts.css-houdini.org/css-typed-om/#inline-stylepropertymap-obje
cts |
| 119 [RuntimeEnabled=CSSTypedOM] readonly attribute StylePropertyMap styleMap; | 119 [RuntimeEnabled=CSSTypedOM, SameObject] readonly attribute StylePropertyMap
styleMap; |
| 120 | 120 |
| 121 // Non-standard API | 121 // Non-standard API |
| 122 [MeasureAs=ElementScrollIntoViewIfNeeded] void scrollIntoViewIfNeeded(option
al boolean centerIfNeeded); | 122 [MeasureAs=ElementScrollIntoViewIfNeeded] void scrollIntoViewIfNeeded(option
al boolean centerIfNeeded); |
| 123 [RaisesException, CallWith=ScriptState, MeasureAs=ElementCreateShadowRoot] S
hadowRoot createShadowRoot(); | 123 [RaisesException, CallWith=ScriptState, MeasureAs=ElementCreateShadowRoot] S
hadowRoot createShadowRoot(); |
| 124 NodeList getDestinationInsertionPoints(); | 124 NodeList getDestinationInsertionPoints(); |
| 125 | 125 |
| 126 // Experimental accessibility API | 126 // Experimental accessibility API |
| 127 [RuntimeEnabled=ComputedAccessibilityInfo] readonly attribute DOMString? com
putedRole; | 127 [RuntimeEnabled=ComputedAccessibilityInfo] readonly attribute DOMString? com
putedRole; |
| 128 [RuntimeEnabled=ComputedAccessibilityInfo] readonly attribute DOMString? com
putedName; | 128 [RuntimeEnabled=ComputedAccessibilityInfo] readonly attribute DOMString? com
putedName; |
| 129 | 129 |
| 130 // Accessibility Object Model | 130 // Accessibility Object Model |
| 131 [RuntimeEnabled=AccessibilityObjectModel] readonly attribute AccessibleNode?
accessibleNode; | 131 [RuntimeEnabled=AccessibilityObjectModel] readonly attribute AccessibleNode?
accessibleNode; |
| 132 | 132 |
| 133 // Event handler attributes | 133 // Event handler attributes |
| 134 attribute EventHandler onbeforecopy; | 134 attribute EventHandler onbeforecopy; |
| 135 attribute EventHandler onbeforecut; | 135 attribute EventHandler onbeforecut; |
| 136 attribute EventHandler onbeforepaste; | 136 attribute EventHandler onbeforepaste; |
| 137 attribute EventHandler oncopy; | 137 attribute EventHandler oncopy; |
| 138 attribute EventHandler oncut; | 138 attribute EventHandler oncut; |
| 139 attribute EventHandler onpaste; | 139 attribute EventHandler onpaste; |
| 140 attribute EventHandler onsearch; | 140 attribute EventHandler onsearch; |
| 141 attribute EventHandler onselectstart; | 141 attribute EventHandler onselectstart; |
| 142 attribute EventHandler onwheel; | 142 attribute EventHandler onwheel; |
| 143 }; | 143 }; |
| 144 | 144 |
| 145 Element implements ParentNode; | 145 Element implements ParentNode; |
| 146 Element implements ChildNode; | 146 Element implements ChildNode; |
| 147 Element implements NonDocumentTypeChildNode; | 147 Element implements NonDocumentTypeChildNode; |
| OLD | NEW |