Skip to content

Commit 337dabf

Browse files
committed
Add webkitFullscreenElement to Closure's html5 definitions. webkitCurrentFullScreenElement is not set when a cross-domain element is the fullscreened element. webkitFullscreenElement is set to the iframe containing the cross-domain element.
webkitFullscreenElement also seems to be closer to the w3c spec - but I don't know anything about the history here. ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=66341259
1 parent 23f4cce commit 337dabf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

externs/html5.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3022,6 +3022,9 @@ Document.prototype.webkitCancelFullScreen = function() {};
30223022
/** @type {Element} */
30233023
Document.prototype.webkitCurrentFullScreenElement;
30243024

3025+
/** @type {Element} */
3026+
Document.prototype.webkitFullscreenElement;
3027+
30253028
/** @type {boolean} */
30263029
Document.prototype.webkitFullScreenKeyboardInputAllowed;
30273030

0 commit comments

Comments
 (0)