| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 [ | 5 [ |
| 6 Constructor(DOMString tagName), | 6 CustomConstructor, |
| 7 ConstructorCallWith=Document, | |
| 8 ] interface Element : ParentNode { | 7 ] interface Element : ParentNode { |
| 9 readonly attribute DOMString tagName; | 8 readonly attribute DOMString tagName; |
| 10 | 9 |
| 11 boolean hasAttribute(DOMString name); | 10 boolean hasAttribute(DOMString name); |
| 12 [TreatReturnedNullStringAs=Null] DOMString getAttribute(DOMString name); | 11 [TreatReturnedNullStringAs=Null] DOMString getAttribute(DOMString name); |
| 13 [CustomElementCallbacks, RaisesException] void setAttribute(DOMString name, op
tional DOMString value); | 12 [CustomElementCallbacks, RaisesException] void setAttribute(DOMString name, op
tional DOMString value); |
| 14 [CustomElementCallbacks] void removeAttribute(DOMString name); | 13 [CustomElementCallbacks] void removeAttribute(DOMString name); |
| 15 | 14 |
| 16 sequence<Attr> getAttributes(); | 15 sequence<Attr> getAttributes(); |
| 17 | 16 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 32 readonly attribute long offsetLeft; | 31 readonly attribute long offsetLeft; |
| 33 readonly attribute long offsetTop; | 32 readonly attribute long offsetTop; |
| 34 readonly attribute long offsetWidth; | 33 readonly attribute long offsetWidth; |
| 35 readonly attribute long offsetHeight; | 34 readonly attribute long offsetHeight; |
| 36 readonly attribute Element offsetParent; | 35 readonly attribute Element offsetParent; |
| 37 readonly attribute long clientLeft; | 36 readonly attribute long clientLeft; |
| 38 readonly attribute long clientTop; | 37 readonly attribute long clientTop; |
| 39 readonly attribute long clientWidth; | 38 readonly attribute long clientWidth; |
| 40 readonly attribute long clientHeight; | 39 readonly attribute long clientHeight; |
| 41 }; | 40 }; |
| OLD | NEW |