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

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

Issue 1158163004: Add ShadowRootInit dictionary. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: nit fix in layout test Created 5 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/dom/Element.cpp ('k') | Source/core/dom/shadow/ShadowRootInit.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 58
59 // DOM Parsing and Serialization 59 // DOM Parsing and Serialization
60 // https://dvcs.w3.org/hg/innerhtml/raw-file/tip/index.html#extensions-to-th e-element-interface 60 // https://dvcs.w3.org/hg/innerhtml/raw-file/tip/index.html#extensions-to-th e-element-interface
61 [TreatNullAs=NullString, CustomElementCallbacks, RaisesException=Setter, Exp oseJSAccessors] attribute DOMString innerHTML; 61 [TreatNullAs=NullString, CustomElementCallbacks, RaisesException=Setter, Exp oseJSAccessors] attribute DOMString innerHTML;
62 [TreatNullAs=NullString, CustomElementCallbacks, RaisesException=Setter] att ribute DOMString outerHTML; 62 [TreatNullAs=NullString, CustomElementCallbacks, RaisesException=Setter] att ribute DOMString outerHTML;
63 [CustomElementCallbacks, RaisesException, MeasureAs=InsertAdjacentHTML] void insertAdjacentHTML(DOMString position, DOMString text); 63 [CustomElementCallbacks, RaisesException, MeasureAs=InsertAdjacentHTML] void insertAdjacentHTML(DOMString position, DOMString text);
64 64
65 // Shadow DOM 65 // Shadow DOM
66 // http://w3c.github.io/webcomponents/spec/shadow/#extensions-to-element-int erface 66 // http://w3c.github.io/webcomponents/spec/shadow/#extensions-to-element-int erface
67 [RaisesException, CallWith=ScriptState, MeasureAs=ElementCreateShadowRoot] S hadowRoot createShadowRoot(); 67 [RaisesException, CallWith=ScriptState, MeasureAs=ElementCreateShadowRoot] S hadowRoot createShadowRoot();
68 [RuntimeEnabled=CreateShadowRootWithParameter, RaisesException, CallWith=Scr iptState, MeasureAs=ElementCreateShadowRoot] ShadowRoot createShadowRoot(ShadowR ootInit shadowRootInitDict);
68 NodeList getDestinationInsertionPoints(); 69 NodeList getDestinationInsertionPoints();
69 [PerWorldBindings] readonly attribute ShadowRoot? shadowRoot; 70 [PerWorldBindings] readonly attribute ShadowRoot? shadowRoot;
70 71
71 // Pointer Lock 72 // Pointer Lock
72 // https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#extensions -to-the-element-interface 73 // https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#extensions -to-the-element-interface
73 [MeasureAs=ElementRequestPointerLock] void requestPointerLock(); 74 [MeasureAs=ElementRequestPointerLock] void requestPointerLock();
74 75
75 // CSSOM View Module 76 // CSSOM View Module
76 // http://dev.w3.org/csswg/cssom-view/#extension-to-the-element-interface 77 // http://dev.w3.org/csswg/cssom-view/#extension-to-the-element-interface
77 // FIXME: getClientRect() and getBoundingClientRect() should 78 // FIXME: getClientRect() and getBoundingClientRect() should
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel; 142 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel;
142 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; 143 [RuntimeEnabled=Touch] attribute EventHandler ontouchend;
143 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; 144 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove;
144 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; 145 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart;
145 attribute EventHandler onwheel; 146 attribute EventHandler onwheel;
146 }; 147 };
147 148
148 Element implements ParentNode; 149 Element implements ParentNode;
149 Element implements ChildNode; 150 Element implements ChildNode;
150 Element implements NonDocumentTypeChildNode; 151 Element implements NonDocumentTypeChildNode;
OLDNEW
« no previous file with comments | « Source/core/dom/Element.cpp ('k') | Source/core/dom/shadow/ShadowRootInit.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698