DescriptionFind the current fullscreen video element rather than the one on top of stack
When requestFullscren() is called, we don't know when willEnterFullscreen() will get called.
For android webview, requestFullscreen() might even result in no calls
to willenterfullscreen() if webapp doesn't support fullscreen video.
So before willEnterfullscreen is called, we should not use the provisional
video element on top of the stack to modify the layer tree.
Instead, we should wait for the provisional element to become current.
Therefore, we should call currentFullScreenElementFrom() on the fullscreen document.
BUG=389496
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=178714
Patch Set 1 #Patch Set 2 : layout test #
Total comments: 2
Patch Set 3 : nits #Patch Set 4 : fix test expectations #
Messages
Total messages: 19 (0 generated)
|