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

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

Issue 1489433002: Support the essential part of Shadow DOM v1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert Internals.* Created 5 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
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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 [TreatNullAs=NullString, CustomElementCallbacks, RaisesException=Setter] att ribute DOMString innerHTML; 64 [TreatNullAs=NullString, CustomElementCallbacks, RaisesException=Setter] att ribute DOMString innerHTML;
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 75
75 // Pointer Lock 76 // Pointer Lock
76 // https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#extensions -to-the-element-interface 77 // https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#extensions -to-the-element-interface
77 [MeasureAs=ElementRequestPointerLock] void requestPointerLock(); 78 [MeasureAs=ElementRequestPointerLock] void requestPointerLock();
78 79
79 // CSSOM View Module 80 // CSSOM View Module
80 // http://dev.w3.org/csswg/cssom-view/#extension-to-the-element-interface 81 // http://dev.w3.org/csswg/cssom-view/#extension-to-the-element-interface
81 // FIXME: getClientRect() and getBoundingClientRect() should 82 // FIXME: getClientRect() and getBoundingClientRect() should
82 // return DOMRectList and DOMRect respectively. 83 // return DOMRectList and DOMRect respectively.
83 ClientRectList getClientRects(); 84 ClientRectList getClientRects();
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 attribute EventHandler oncut; 123 attribute EventHandler oncut;
123 attribute EventHandler onpaste; 124 attribute EventHandler onpaste;
124 attribute EventHandler onsearch; 125 attribute EventHandler onsearch;
125 attribute EventHandler onselectstart; 126 attribute EventHandler onselectstart;
126 attribute EventHandler onwheel; 127 attribute EventHandler onwheel;
127 }; 128 };
128 129
129 Element implements ParentNode; 130 Element implements ParentNode;
130 Element implements ChildNode; 131 Element implements ChildNode;
131 Element implements NonDocumentTypeChildNode; 132 Element implements NonDocumentTypeChildNode;
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/Element.cpp ('k') | third_party/WebKit/Source/core/dom/LayoutTreeBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698