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

Unified Diff: third_party/WebKit/Source/core/dom/shadow/ShadowRoot.idl

Issue 1815643002: Introduce DocumentOrShadowRoot Mixin (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@debug
Patch Set: fix typo Created 4 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/dom/shadow/ShadowRoot.idl
diff --git a/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.idl b/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.idl
index f783a41ed2386ce918b361f3ce077e62754ac058..d9ffd6621abc9a48df50fea39b84867bd635231f 100644
--- a/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.idl
+++ b/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.idl
@@ -27,15 +27,9 @@
// https://w3c.github.io/webcomponents/spec/shadow/#the-shadowroot-interface
interface ShadowRoot : DocumentFragment {
- Selection? getSelection();
- // TODO(philipj): The x and y arguments should be of type double.
- Element? elementFromPoint(long x, long y);
- sequence<Element> elementsFromPoint(long x, long y);
- readonly attribute Element? activeElement;
readonly attribute Element host;
[ImplementedAs=olderShadowRootForBindings] readonly attribute ShadowRoot? olderShadowRoot;
[TreatNullAs=NullString, CustomElementCallbacks, RaisesException=Setter] attribute DOMString innerHTML;
- readonly attribute StyleSheetList styleSheets;
[RuntimeEnabled=ShadowRootDelegatesFocus] readonly attribute boolean delegatesFocus;
// TODO(philipj): The spec does not override cloneNode() on the ShadowRoot
@@ -44,3 +38,5 @@ interface ShadowRoot : DocumentFragment {
// Node.cloneNode() does not have [RaisesException].
[RaisesException] Node cloneNode(optional boolean deep = false);
};
+
+ShadowRoot implements DocumentOrShadowRoot;

Powered by Google App Engine
This is Rietveld 408576698