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

Unified Diff: third_party/WebKit/Source/core/dom/Document.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/Document.idl
diff --git a/third_party/WebKit/Source/core/dom/Document.idl b/third_party/WebKit/Source/core/dom/Document.idl
index 0f309aadd9b3d9735858ecd95f28bf3961a02e47..307c2f31f368a9681b27fdfc4f3535dccb457298 100644
--- a/third_party/WebKit/Source/core/dom/Document.idl
+++ b/third_party/WebKit/Source/core/dom/Document.idl
@@ -121,7 +121,6 @@ interface Document : Node {
// user interaction
[ImplementedAs=domWindow] readonly attribute Window? defaultView;
- readonly attribute Element? activeElement;
boolean hasFocus();
[CustomElementCallbacks, MeasureAs=DocumentDesignMode] attribute DOMString designMode;
[CustomElementCallbacks, RaisesException] boolean execCommand(DOMString commandId, optional boolean showUI = false, optional DOMString value = "");
@@ -145,20 +144,11 @@ interface Document : Node {
// CSS Object Model (CSSOM)
// http://dev.w3.org/csswg/cssom/#extensions-to-the-document-interface
- [SameObject] readonly attribute StyleSheetList styleSheets;
attribute DOMString? selectedStylesheetSet;
readonly attribute DOMString? preferredStylesheetSet;
- // CSSOM View Module
- // http://dev.w3.org/csswg/cssom-view/#extensions-to-the-document-interface
- // FIXME: 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? scrollingElement;
- // Selection API
- // http://w3c.github.io/selection-api/#extensions-to-document-interface
- Selection? getSelection();
// Pointer Lock
// https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#extensions-to-the-document-interface
@@ -227,3 +217,4 @@ interface Document : Node {
Document implements GlobalEventHandlers;
Document implements ParentNode;
Document implements NonElementParentNode;
+Document implements DocumentOrShadowRoot;

Powered by Google App Engine
This is Rietveld 408576698