| Index: third_party/WebKit/Source/core/dom/Element.idl
|
| diff --git a/third_party/WebKit/Source/core/dom/Element.idl b/third_party/WebKit/Source/core/dom/Element.idl
|
| index 7ba83bfb5791516edf17102dbd3014c007c6486d..c8a7b622df097ed44d4f9437bfb4f90fa3e5c339 100644
|
| --- a/third_party/WebKit/Source/core/dom/Element.idl
|
| +++ b/third_party/WebKit/Source/core/dom/Element.idl
|
| @@ -31,9 +31,9 @@ interface Element : Node {
|
| readonly attribute DOMString localName;
|
| readonly attribute DOMString tagName;
|
|
|
| - [Reflect] attribute DOMString id;
|
| - [Reflect=class] attribute DOMString className;
|
| - [SameObject, PerWorldBindings, PutForwards=value] readonly attribute DOMTokenList classList;
|
| + [CEReactions, Reflect] attribute DOMString id;
|
| + [CEReactions, Reflect=class] attribute DOMString className;
|
| + [SameObject, CEReactions, PerWorldBindings, PutForwards=value] readonly attribute DOMTokenList classList;
|
|
|
| // PointerEvent (http://www.w3.org/TR/pointerevents/#extensions-to-the-element-interface)
|
| [RuntimeEnabled=PointerEvent, RaisesException] void setPointerCapture (long pointerId);
|
| @@ -43,18 +43,18 @@ interface Element : Node {
|
| [SameObject, PerWorldBindings, ImplementedAs=attributesForBindings] readonly attribute NamedNodeMap attributes;
|
| DOMString? getAttribute(DOMString name);
|
| DOMString? getAttributeNS(DOMString? namespaceURI, DOMString localName);
|
| - [RaisesException, CustomElementCallbacks] void setAttribute(DOMString name, DOMString value);
|
| - [RaisesException, CustomElementCallbacks] void setAttributeNS(DOMString? namespaceURI, DOMString name, DOMString value);
|
| - [CustomElementCallbacks] void removeAttribute(DOMString name);
|
| - [CustomElementCallbacks] void removeAttributeNS(DOMString? namespaceURI, DOMString localName);
|
| + [RaisesException, CEReactions, CustomElementCallbacks] void setAttribute(DOMString name, DOMString value);
|
| + [RaisesException, CEReactions, CustomElementCallbacks] void setAttributeNS(DOMString? namespaceURI, DOMString name, DOMString value);
|
| + [CEReactions, CustomElementCallbacks] void removeAttribute(DOMString name);
|
| + [CEReactions, CustomElementCallbacks] void removeAttributeNS(DOMString? namespaceURI, DOMString localName);
|
| boolean hasAttribute(DOMString name);
|
| boolean hasAttributeNS(DOMString? namespaceURI, DOMString localName);
|
|
|
| Attr? getAttributeNode(DOMString name);
|
| Attr? getAttributeNodeNS(DOMString? namespaceURI, DOMString localName);
|
| - [RaisesException, CustomElementCallbacks] Attr? setAttributeNode(Attr attr);
|
| - [RaisesException, CustomElementCallbacks] Attr? setAttributeNodeNS(Attr attr);
|
| - [RaisesException, CustomElementCallbacks] Attr removeAttributeNode(Attr attr);
|
| + [RaisesException, CEReactions, CustomElementCallbacks] Attr? setAttributeNode(Attr attr);
|
| + [RaisesException, CEReactions, CustomElementCallbacks] Attr? setAttributeNodeNS(Attr attr);
|
| + [RaisesException, CEReactions, CustomElementCallbacks] Attr removeAttributeNode(Attr attr);
|
|
|
| [RaisesException] Element? closest(DOMString selectors);
|
| [RaisesException] boolean matches(DOMString selectors);
|
| @@ -64,14 +64,14 @@ interface Element : Node {
|
| HTMLCollection getElementsByTagNameNS(DOMString? namespaceURI, DOMString localName);
|
| HTMLCollection getElementsByClassName(DOMString classNames);
|
|
|
| - [RaisesException, CustomElementCallbacks] Element? insertAdjacentElement(DOMString where, Element element);
|
| + [RaisesException, CEReactions, CustomElementCallbacks] Element? insertAdjacentElement(DOMString where, Element element);
|
| [RaisesException] void insertAdjacentText(DOMString where, DOMString data);
|
|
|
| // DOM Parsing and Serialization
|
| // https://dvcs.w3.org/hg/innerhtml/raw-file/tip/index.html#extensions-to-the-element-interface
|
| - [TreatNullAs=NullString, CustomElementCallbacks, RaisesException=Setter] attribute DOMString innerHTML;
|
| - [TreatNullAs=NullString, CustomElementCallbacks, RaisesException=Setter] attribute DOMString outerHTML;
|
| - [CustomElementCallbacks, RaisesException] void insertAdjacentHTML(DOMString position, DOMString text);
|
| + [TreatNullAs=NullString, CEReactions, CustomElementCallbacks, RaisesException=Setter] attribute DOMString innerHTML;
|
| + [TreatNullAs=NullString, CEReactions, CustomElementCallbacks, RaisesException=Setter] attribute DOMString outerHTML;
|
| + [CEReactions, CustomElementCallbacks, RaisesException] void insertAdjacentHTML(DOMString position, DOMString text);
|
|
|
| // Shadow DOM
|
| // http://w3c.github.io/webcomponents/spec/shadow/#extensions-to-element-interface
|
| @@ -79,7 +79,7 @@ interface Element : Node {
|
| [RuntimeEnabled=ShadowDOMV1, RaisesException, CallWith=ScriptState, MeasureAs=ElementAttachShadow] ShadowRoot attachShadow(ShadowRootInit shadowRootInitDict);
|
| NodeList getDestinationInsertionPoints();
|
| [PerWorldBindings, ImplementedAs=openShadowRoot] readonly attribute ShadowRoot? shadowRoot;
|
| - [RuntimeEnabled=ShadowDOMV1, Reflect] attribute DOMString slot;
|
| + [RuntimeEnabled=ShadowDOMV1, CEReactions, Reflect] attribute DOMString slot;
|
| [RuntimeEnabled=ShadowDOMV1, ImplementedAs=assignedSlotForBinding] readonly attribute HTMLSlotElement assignedSlot;
|
|
|
| // Pointer Lock
|
|
|