Changeset 139932 in webkit
- Timestamp:
- Jan 16, 2013 3:57:50 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r139917 r139932 1 2013-01-16 Victor Carbune <vcarbune@chromium.org> 2 3 Cues not rendered when they should be 4 https://bugs.webkit.org/show_bug.cgi?id=106943 5 6 Reviewed by Eric Carlson. 7 8 * media/track/track-cue-rendering-mode-changed-expected.txt: Added. 9 * media/track/track-cue-rendering-mode-changed.html: Added. 10 * media/video-controls-captions-expected.txt: Updated. 11 1 12 2013-01-16 Sheriff Bot <webkit.review.bot@gmail.com> 2 13 -
trunk/LayoutTests/media/video-controls-captions-expected.txt
r139547 r139932 13 13 EXPECTED (video.textTracks.length == '1') OK 14 14 EXPECTED (video.textTracks[0].mode == 'disabled') OK 15 Failed to find text track container element 15 No text track cue with display id '-webkit-media-text-track-display' is currently visible 16 16 17 17 ** Captions track should load and captions should become visible after button is clicked ** -
trunk/Source/WebCore/ChangeLog
r139930 r139932 1 2013-01-16 Victor Carbune <vcarbune@chromium.org> 2 3 Cues not rendered when they should be 4 https://bugs.webkit.org/show_bug.cgi?id=106943 5 6 Reviewed by Eric Carlson. 7 8 Forced rendering update, even if the active set of cues didn't change. 9 10 Test: media/track/track-cue-rendering-mode-changed.html 11 12 * html/HTMLMediaElement.cpp: 13 (WebCore::HTMLMediaElement::updateActiveTextTrackCues): If exiting early, 14 update the cues rendered by the text track container. 15 (WebCore::HTMLMediaElement::textTrackModeChanged): Trigger update of the 16 re-checking the active cues and render the ones not yet on screen. 17 1 18 2013-01-16 Benjamin Poulain <bpoulain@apple.com> 2 19 -
trunk/Source/WebCore/html/HTMLMediaElement.cpp
r139899 r139932 1167 1167 } 1168 1168 1169 if (!activeSetChanged) 1170 return; 1169 if (!activeSetChanged) { 1170 // Even though the active set has not changed, it is possible that the 1171 // the mode of a track has changed from 'hidden' to 'showing' and the 1172 // cues have not yet been rendered. 1173 if (hasMediaControls()) 1174 mediaControls()->updateTextTrackDisplay(); 1175 1176 return; 1177 } 1171 1178 1172 1179 // 7 - If the time was reached through the usual monotonic increase of the … … 1362 1369 1363 1370 configureTextTrackDisplay(); 1371 updateActiveTextTrackCues(currentTime()); 1364 1372 } 1365 1373
Note: See TracChangeset
for help on using the changeset viewer.