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/DocumentOrShadowRoot.idl

Issue 2340263003: Move Document.fullscreenElement to DocumentOrShadowRoot (Closed)
Patch Set: nits. Created 4 years, 3 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/DocumentOrShadowRoot.idl
diff --git a/third_party/WebKit/Source/core/dom/DocumentOrShadowRoot.idl b/third_party/WebKit/Source/core/dom/DocumentOrShadowRoot.idl
index 34a53a8f428b461d2c2bee625a0a4e3c973a7763..4d7cbf131b43bd5f5aabfbdb1bf6ce4f4c10a329 100644
--- a/third_party/WebKit/Source/core/dom/DocumentOrShadowRoot.idl
+++ b/third_party/WebKit/Source/core/dom/DocumentOrShadowRoot.idl
@@ -21,4 +21,11 @@
// PointerLock API
// https://w3c.github.io/pointerlock/
readonly attribute Element? pointerLockElement;
+ // Fullscreen API
foolip 2016/09/20 13:44:21 Does our IDL compiler support partial interfaces f
kochi 2016/10/07 14:26:42 Confirmed with our IDL compiler people and partial
foolip 2016/10/10 12:13:40 Very well. Is there a bug for that?
kochi 2016/10/17 11:14:27 Filed http://crbug.com/656517
+ // https://fullscreen.spec.whatwg.org/
+ // Mozilla version
+ [MeasureAs=PrefixedDocumentCurrentFullScreenElement, ImplementedAs=currentFullScreenElement] readonly attribute Element webkitCurrentFullScreenElement;
foolip 2016/09/20 13:44:21 I was unclear/misleading with "important that we k
kochi 2016/10/07 14:26:42 I may be still confused. Correct my if I misunders
foolip 2016/10/10 12:13:40 Yes, I'm suggesting no web exposed changes at all
kochi 2016/10/17 11:14:27 It does not work, as Fullscreen::fullscreenElement
+ // W3C version
+ [RuntimeEnabled=FullscreenUnprefixed] readonly attribute Element? fullscreenElement;
+ [MeasureAs=PrefixedDocumentFullscreenElement, ImplementedAs=fullscreenElement] readonly attribute Element webkitFullscreenElement;
};

Powered by Google App Engine
This is Rietveld 408576698