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

Side by Side Diff: third_party/WebKit/Source/core/dom/Document.idl

Issue 2054433002: Implement "create an element" when sync for Custom Element V1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@async-ce
Patch Set: dominicc review Created 4 years, 6 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2011 Apple Inc. All rights reserved.
3 * Copyright (C) 2006, 2007 Samuel Weinig <sam@webkit.org> 3 * Copyright (C) 2006, 2007 Samuel Weinig <sam@webkit.org>
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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 [ImplementedAs=characterSet] readonly attribute DOMString charset; // legacy alias of .characterSet 47 [ImplementedAs=characterSet] readonly attribute DOMString charset; // legacy alias of .characterSet
48 [ImplementedAs=characterSet] readonly attribute DOMString inputEncoding; // legacy alias of .characterSet 48 [ImplementedAs=characterSet] readonly attribute DOMString inputEncoding; // legacy alias of .characterSet
49 readonly attribute DOMString contentType; 49 readonly attribute DOMString contentType;
50 50
51 readonly attribute DocumentType? doctype; 51 readonly attribute DocumentType? doctype;
52 readonly attribute Element? documentElement; 52 readonly attribute Element? documentElement;
53 HTMLCollection getElementsByTagName(DOMString localName); 53 HTMLCollection getElementsByTagName(DOMString localName);
54 HTMLCollection getElementsByTagNameNS(DOMString? namespaceURI, DOMString loc alName); 54 HTMLCollection getElementsByTagNameNS(DOMString? namespaceURI, DOMString loc alName);
55 HTMLCollection getElementsByClassName(DOMString classNames); 55 HTMLCollection getElementsByClassName(DOMString classNames);
56 56
57 [NewObject, CustomElementCallbacks, PerWorldBindings, RaisesException] Eleme nt createElement(DOMString localName); 57 [NewObject, DoNotTestNewObject, CustomElementCallbacks, PerWorldBindings, Ra isesException] Element createElement(DOMString localName);
58 [NewObject, CustomElementCallbacks, RaisesException] Element createElementNS (DOMString? namespaceURI, DOMString qualifiedName); 58 [NewObject, DoNotTestNewObject, CustomElementCallbacks, RaisesException] Ele ment createElementNS(DOMString? namespaceURI, DOMString qualifiedName);
haraken 2016/06/13 09:05:35 Would you help me understand why you need [DoNotTe
kojii 2016/06/13 10:28:25 NewObjet tests if JS wrapper hasn't been created f
59 [NewObject] DocumentFragment createDocumentFragment(); 59 [NewObject] DocumentFragment createDocumentFragment();
60 [NewObject] Text createTextNode(DOMString data); 60 [NewObject] Text createTextNode(DOMString data);
61 [NewObject] Comment createComment(DOMString data); 61 [NewObject] Comment createComment(DOMString data);
62 [NewObject, RaisesException] ProcessingInstruction createProcessingInstructi on(DOMString target, DOMString data); 62 [NewObject, RaisesException] ProcessingInstruction createProcessingInstructi on(DOMString target, DOMString data);
63 63
64 [NewObject, DoNotTestNewObject, CEReactions, CustomElementCallbacks, RaisesE xception] Node importNode(Node node, optional boolean deep = false); 64 [NewObject, DoNotTestNewObject, CEReactions, CustomElementCallbacks, RaisesE xception] Node importNode(Node node, optional boolean deep = false);
65 [RaisesException, CEReactions, CustomElementCallbacks] Node adoptNode(Node n ode); 65 [RaisesException, CEReactions, CustomElementCallbacks] Node adoptNode(Node n ode);
66 66
67 [NewObject, RaisesException, MeasureAs=DocumentCreateAttribute] Attr createA ttribute(DOMString localName); 67 [NewObject, RaisesException, MeasureAs=DocumentCreateAttribute] Attr createA ttribute(DOMString localName);
68 [NewObject, RaisesException, MeasureAs=DocumentCreateAttributeNS] Attr creat eAttributeNS(DOMString? namespaceURI, DOMString qualifiedName); 68 [NewObject, RaisesException, MeasureAs=DocumentCreateAttributeNS] Attr creat eAttributeNS(DOMString? namespaceURI, DOMString qualifiedName);
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa ndler onsecuritypolicyviolation; 215 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa ndler onsecuritypolicyviolation;
216 attribute EventHandler onselectionchange; 216 attribute EventHandler onselectionchange;
217 attribute EventHandler onselectstart; 217 attribute EventHandler onselectstart;
218 attribute EventHandler onwheel; 218 attribute EventHandler onwheel;
219 }; 219 };
220 220
221 Document implements GlobalEventHandlers; 221 Document implements GlobalEventHandlers;
222 Document implements ParentNode; 222 Document implements ParentNode;
223 Document implements NonElementParentNode; 223 Document implements NonElementParentNode;
224 Document implements DocumentOrShadowRoot; 224 Document implements DocumentOrShadowRoot;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698