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

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

Issue 1671823002: Restrict the types of nodes that could be assigned to a slot. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 10 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, 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 [TreatNullAs=NullString, CustomElementCallbacks, RaisesException=Setter] att ribute DOMString outerHTML; 65 [TreatNullAs=NullString, CustomElementCallbacks, RaisesException=Setter] att ribute DOMString outerHTML;
66 [CustomElementCallbacks, RaisesException, MeasureAs=InsertAdjacentHTML] void insertAdjacentHTML(DOMString position, DOMString text); 66 [CustomElementCallbacks, RaisesException, MeasureAs=InsertAdjacentHTML] void insertAdjacentHTML(DOMString position, DOMString text);
67 67
68 // Shadow DOM 68 // Shadow DOM
69 // http://w3c.github.io/webcomponents/spec/shadow/#extensions-to-element-int erface 69 // http://w3c.github.io/webcomponents/spec/shadow/#extensions-to-element-int erface
70 [RaisesException, CallWith=ScriptState, MeasureAs=ElementCreateShadowRoot] S hadowRoot createShadowRoot(); 70 [RaisesException, CallWith=ScriptState, MeasureAs=ElementCreateShadowRoot] S hadowRoot createShadowRoot();
71 [RuntimeEnabled=ShadowDOMV1, RaisesException, CallWith=ScriptState, MeasureA s=ElementAttachShadow] ShadowRoot attachShadow(ShadowRootInit shadowRootInitDict ); 71 [RuntimeEnabled=ShadowDOMV1, RaisesException, CallWith=ScriptState, MeasureA s=ElementAttachShadow] ShadowRoot attachShadow(ShadowRootInit shadowRootInitDict );
72 NodeList getDestinationInsertionPoints(); 72 NodeList getDestinationInsertionPoints();
73 [PerWorldBindings, ImplementedAs=openShadowRoot] readonly attribute ShadowRo ot? shadowRoot; 73 [PerWorldBindings, ImplementedAs=openShadowRoot] readonly attribute ShadowRo ot? shadowRoot;
74 [RuntimeEnabled=ShadowDOMV1, Reflect] attribute DOMString slot; 74 [RuntimeEnabled=ShadowDOMV1, Reflect] attribute DOMString slot;
75 [RuntimeEnabled=ShadowDOMV1, ImplementedAs=assignedSlotForBinding] readonly attribute HTMLSlotElement assignedSlot;
75 76
76 // Pointer Lock 77 // Pointer Lock
77 // https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#extensions -to-the-element-interface 78 // https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#extensions -to-the-element-interface
78 [MeasureAs=ElementRequestPointerLock] void requestPointerLock(); 79 [MeasureAs=ElementRequestPointerLock] void requestPointerLock();
79 80
80 // CSSOM View Module 81 // CSSOM View Module
81 // http://dev.w3.org/csswg/cssom-view/#extension-to-the-element-interface 82 // http://dev.w3.org/csswg/cssom-view/#extension-to-the-element-interface
82 // FIXME: getClientRect() and getBoundingClientRect() should 83 // FIXME: getClientRect() and getBoundingClientRect() should
83 // return DOMRectList and DOMRect respectively. 84 // return DOMRectList and DOMRect respectively.
84 ClientRectList getClientRects(); 85 ClientRectList getClientRects();
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 attribute EventHandler oncut; 124 attribute EventHandler oncut;
124 attribute EventHandler onpaste; 125 attribute EventHandler onpaste;
125 attribute EventHandler onsearch; 126 attribute EventHandler onsearch;
126 attribute EventHandler onselectstart; 127 attribute EventHandler onselectstart;
127 attribute EventHandler onwheel; 128 attribute EventHandler onwheel;
128 }; 129 };
129 130
130 Element implements ParentNode; 131 Element implements ParentNode;
131 Element implements ChildNode; 132 Element implements ChildNode;
132 Element implements NonDocumentTypeChildNode; 133 Element implements NonDocumentTypeChildNode;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698