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

Side by Side Diff: Source/core/dom/Element.idl

Issue 750183005: Un-deprecate Element.setAttributeNodeNS() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: test Created 6 years 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 | Annotate | Revision Log
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 24 matching lines...) Expand all
35 [PerWorldBindings, ImplementedAs=attributesForBindings] readonly attribute N amedNodeMap attributes; 35 [PerWorldBindings, ImplementedAs=attributesForBindings] readonly attribute N amedNodeMap attributes;
36 [MeasureAs=HasAttributes] boolean hasAttributes(); 36 [MeasureAs=HasAttributes] boolean hasAttributes();
37 37
38 // DOM Level 2 Core 38 // DOM Level 2 Core
39 39
40 DOMString? getAttributeNS(DOMString? namespaceURI, DOMString localName); 40 DOMString? getAttributeNS(DOMString? namespaceURI, DOMString localName);
41 [RaisesException, CustomElementCallbacks] void setAttributeNS(DOMString? nam espaceURI, DOMString qualifiedName, DOMString value); 41 [RaisesException, CustomElementCallbacks] void setAttributeNS(DOMString? nam espaceURI, DOMString qualifiedName, DOMString value);
42 [CustomElementCallbacks] void removeAttributeNS(DOMString? namespaceURI, DOM String localName); 42 [CustomElementCallbacks] void removeAttributeNS(DOMString? namespaceURI, DOM String localName);
43 HTMLCollection getElementsByTagNameNS(DOMString? namespaceURI, DOMString loc alName); 43 HTMLCollection getElementsByTagNameNS(DOMString? namespaceURI, DOMString loc alName);
44 [MeasureAs=ElementGetAttributeNodeNS] Attr getAttributeNodeNS(DOMString? nam espaceURI, DOMString localName); 44 [MeasureAs=ElementGetAttributeNodeNS] Attr getAttributeNodeNS(DOMString? nam espaceURI, DOMString localName);
45 [RaisesException, CustomElementCallbacks, DeprecateAs=ElementSetAttributeNod eNS] Attr setAttributeNodeNS(Attr newAttr); // Removed from DOM4. 45 [RaisesException, CustomElementCallbacks, MeasureAs=ElementSetAttributeNodeN S] Attr setAttributeNodeNS(Attr newAttr);
46 boolean hasAttribute(DOMString name); 46 boolean hasAttribute(DOMString name);
47 boolean hasAttributeNS(DOMString? namespaceURI, DOMString localName); 47 boolean hasAttributeNS(DOMString? namespaceURI, DOMString localName);
48 48
49 [PerWorldBindings] readonly attribute CSSStyleDeclaration style; 49 [PerWorldBindings] readonly attribute CSSStyleDeclaration style;
50 50
51 // DOM4 51 // DOM4
52 [Reflect] attribute DOMString id; 52 [Reflect] attribute DOMString id;
53 readonly attribute DOMString? namespaceURI; 53 readonly attribute DOMString? namespaceURI;
54 readonly attribute DOMString? prefix; 54 readonly attribute DOMString? prefix;
55 readonly attribute DOMString? localName; 55 readonly attribute DOMString? localName;
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 attribute EventHandler onselectstart; 125 attribute EventHandler onselectstart;
126 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel; 126 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel;
127 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; 127 [RuntimeEnabled=Touch] attribute EventHandler ontouchend;
128 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; 128 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove;
129 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; 129 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart;
130 attribute EventHandler onwheel; 130 attribute EventHandler onwheel;
131 }; 131 };
132 132
133 Element implements ParentNode; 133 Element implements ParentNode;
134 Element implements ChildNode; 134 Element implements ChildNode;
OLDNEW
« no previous file with comments | « LayoutTests/http/tests/security/xss-DENIED-iframe-src-alias-expected.txt ('k') | Source/core/frame/UseCounter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698