Changeset 139326 in webkit
- Timestamp:
- Jan 10, 2013 9:45:41 AM (11 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r139321 r139326 1 2013-01-10 Victor Carbune <victor@rosedu.org> 2 3 media/video-controls-captions.html fails after fixing https://bugs.webkit.org/show_bug.cgi?id=105536 4 https://bugs.webkit.org/show_bug.cgi?id=106230 5 6 Reviewed by Eric Carlson. 7 8 * platform/chromium/TestExpectations: Reactivated test. 9 1 10 2013-01-10 Alexander Pavlov <apavlov@chromium.org> 2 11 -
trunk/LayoutTests/platform/chromium/TestExpectations
r139315 r139326 3040 3040 webkit.org/b/103926 media/track/opera/track/webvtt/rendering/adhoc/voice_with_evil_timestamp.html [ Skip ] 3041 3041 3042 # Started failing upon fixing webkit.org/b/1055363043 webkit.org/b/106230 media/video-controls-captions.html [ Failure ]3044 3045 3042 webkit.org/b/72271 [ SnowLeopard Debug ] fast/dom/node-iterator-reference-node-moved-crash.html [ Crash Pass ] 3046 3043 -
trunk/Source/WebCore/ChangeLog
r139325 r139326 1 2013-01-10 Victor Carbune <victor@rosedu.org> 2 3 media/video-controls-captions.html fails after fixing https://bugs.webkit.org/show_bug.cgi?id=105536 4 https://bugs.webkit.org/show_bug.cgi?id=106230 5 6 Reviewed by Eric Carlson. 7 8 Until Chromium has proper controls for lists of text tracks, the caption button 9 needs to preserve its functionality. 10 11 Updated TestExpectations to reactivate test. 12 13 * html/HTMLMediaElement.cpp: 14 (WebCore::HTMLMediaElement::setClosedCaptionsVisible): Added explicit call to updateTextTrackDisplay. 15 This enables hiding the tracks immediately. 16 * html/shadow/MediaControlElements.cpp: 17 (WebCore::MediaControlTextTrackContainerElement::updateDisplay): Added extra check before rendering 18 that captions should actually be displayed. 19 1 20 2013-01-10 Hajime Morrita <morrita@google.com> 2 21 -
trunk/Source/WebCore/html/HTMLMediaElement.cpp
r139080 r139326 4137 4137 4138 4138 markCaptionAndSubtitleTracksAsUnconfigured(); 4139 mediaControls()->updateTextTrackDisplay(); 4139 4140 } 4140 4141 #else -
trunk/Source/WebCore/html/shadow/MediaControlElements.cpp
r138784 r139326 1248 1248 void MediaControlTextTrackContainerElement::updateDisplay() 1249 1249 { 1250 if (!mediaController()->closedCaptionsVisible()) { 1251 m_cueContainer->removeChildren(); 1252 return; 1253 } 1254 1250 1255 HTMLMediaElement* mediaElement = toParentMediaElement(this); 1251 1252 1256 // 1. If the media element is an audio element, or is another playback 1253 1257 // mechanism with no rendering area, abort these steps. There is nothing to 1254 1258 // render. 1255 if (!mediaElement ->isVideo())1259 if (!mediaElement || !mediaElement->isVideo()) 1256 1260 return; 1257 1261
Note: See TracChangeset
for help on using the changeset viewer.