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

Unified Diff: Source/core/dom/Document.idl

Issue 1075393002: Implement Document.scrollingElement API behind experimental feature flag (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Put scrollingElement behind a flag for now Created 5 years, 8 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: Source/core/dom/Document.idl
diff --git a/Source/core/dom/Document.idl b/Source/core/dom/Document.idl
index 9d4c60426803b7cf74a8019284528fac0b4d2cbb..14401ac83f5a539ed93228062e6e26624dca4857 100644
--- a/Source/core/dom/Document.idl
+++ b/Source/core/dom/Document.idl
@@ -148,6 +148,7 @@ interface Document : Node {
// FIXME: The x and y arguments should be of type double.
Element? elementFromPoint(long x, long y);
sequence<Element> elementsFromPoint(long x, long y);
+ [RuntimeEnabled=DocumentScrollingElement] readonly attribute Element? scrollingElement;
// Selection API
// http://w3c.github.io/selection-api/#extensions-to-document-interface

Powered by Google App Engine
This is Rietveld 408576698