Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(747)

Side by Side Diff: sky/engine/core/dom/Element.idl

Issue 943153002: Make it possible for sky-element to register any tag name (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sky/engine/core/dom/Element.cpp ('k') | sky/framework/sky-element.sky » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 };
OLDNEW
« no previous file with comments | « sky/engine/core/dom/Element.cpp ('k') | sky/framework/sky-element.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698