DescriptionFix an issue that subtitle is not shown for native fullscreen video that is inside an iframe
Subtitle support for native fullscreen video is enabled in https://codereview.chromium.org/22454003/.
However, there are a couple bugs:
1. FullscreenElementStack::currentFullScreenElementFrom() returns NULL if the
fullscreen element is in a child frame, we need to use
FullscreenElementStack::fullscreenElementFrom().
2. When the video element is appended to the top level frame, we should exclude
it when rebuilding the compositing layer tree.
A new layout test is added: fullscreen/full-screen-iframe-allowed-video.html
This CL also fixes a bug that some of the fullscreen pixel tests are no longer
running due to https://codereview.chromium.org/24438004
BUG=349222, 347843
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=168578
Patch Set 1 #
Total comments: 12
Patch Set 2 : addressing comments #
Total comments: 4
Patch Set 3 : nits #Patch Set 4 : rebase #Patch Set 5 : rebase virtual/android/fullscreen test expectations #Messages
Total messages: 19 (0 generated)
|