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

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

Issue 691893002: Add support for Element#getAttributes (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
OLDNEW
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 14 matching lines...) Expand all
25 25
26 DOMString? getAttribute(DOMString name); 26 DOMString? getAttribute(DOMString name);
27 [RaisesException, CustomElementCallbacks] void setAttribute(DOMString name, DOMString value); 27 [RaisesException, CustomElementCallbacks] void setAttribute(DOMString name, DOMString value);
28 [CustomElementCallbacks] void removeAttribute(DOMString name); 28 [CustomElementCallbacks] void removeAttribute(DOMString name);
29 29
30 [PerWorldBindings, ImplementedAs=attributesForBindings] readonly attribute N amedNodeMap attributes; 30 [PerWorldBindings, ImplementedAs=attributesForBindings] readonly attribute N amedNodeMap attributes;
31 [MeasureAs=HasAttributes] boolean hasAttributes(); 31 [MeasureAs=HasAttributes] boolean hasAttributes();
32 32
33 boolean hasAttribute(DOMString name); 33 boolean hasAttribute(DOMString name);
34 34
35 sequence<Attr> getAttributes();
36
35 [PerWorldBindings] readonly attribute CSSStyleDeclaration style; 37 [PerWorldBindings] readonly attribute CSSStyleDeclaration style;
36 38
37 [Reflect] attribute DOMString id; 39 [Reflect] attribute DOMString id;
38 readonly attribute DOMString? localName; 40 readonly attribute DOMString? localName;
39 41
40 [RaisesException] boolean matches(DOMString selectors); 42 [RaisesException] boolean matches(DOMString selectors);
41 43
42 readonly attribute long offsetLeft; 44 readonly attribute long offsetLeft;
43 readonly attribute long offsetTop; 45 readonly attribute long offsetTop;
44 readonly attribute long offsetWidth; 46 readonly attribute long offsetWidth;
(...skipping 25 matching lines...) Expand all
70 [PerWorldBindings] readonly attribute ShadowRoot shadowRoot; 72 [PerWorldBindings] readonly attribute ShadowRoot shadowRoot;
71 NodeList getDestinationInsertionPoints(); 73 NodeList getDestinationInsertionPoints();
72 74
73 // CSSOM View Module API 75 // CSSOM View Module API
74 ClientRectList getClientRects(); 76 ClientRectList getClientRects();
75 ClientRect getBoundingClientRect(); 77 ClientRect getBoundingClientRect();
76 }; 78 };
77 79
78 Element implements ParentNode; 80 Element implements ParentNode;
79 Element implements ChildNode; 81 Element implements ChildNode;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698