Changeset 181279 in webkit
- Timestamp:
- Mar 9, 2015 1:22:15 PM (9 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r181278 r181279 20 20 * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp: 21 21 (WebCore::MediaPlayerPrivateGStreamer::load): 22 23 2015-03-09 Roger Fong <roger_fong@apple.com> 24 25 Only call showControls if controls are hidden. 26 https://bugs.webkit.org/show_bug.cgi?id=142496. 27 <rdar://problem/20083732> 28 29 Reviewed by Dean Jackson. 30 31 * Modules/mediacontrols/mediaControlsApple.js: 32 (Controller.prototype.handleWrapperMouseMove): 33 (Controller.prototype.controlsAreHidden): 34 Controls are hidden if the ‘show’ class name is not present, 35 not if the ‘hidden’ class name is. 22 36 23 37 2015-03-09 Roger Fong <roger_fong@apple.com> -
trunk/Source/WebCore/Modules/mediacontrols/mediaControlsApple.css
r181270 r181279 140 140 video::-webkit-media-controls-play-button.paused, 141 141 audio::-webkit-media-controls-play-button.paused { 142 background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 15" fill="white"><path d="M 0, .5 12,7 0,13.5z"/></svg>');142 background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 15" fill="white"><path d="M 0,0 12,7 0,13 z"/></svg>'); 143 143 width: 12px; 144 144 } -
trunk/Source/WebCore/Modules/mediacontrols/mediaControlsApple.js
r181198 r181279 677 677 handleWrapperMouseMove: function(event) 678 678 { 679 this.showControls(); 679 if (this.controlsAreHidden()) 680 this.showControls(); 680 681 this.resetHideControlsTimer(); 681 682 … … 1231 1232 controlsAreHidden: function() 1232 1233 { 1233 return !this.isAudio() && this.controls.panel.classList.contains(this.ClassNames.hidden);1234 return !this.isAudio() && !this.controls.panel.classList.contains(this.ClassNames.show); 1234 1235 }, 1235 1236
Note: See TracChangeset
for help on using the changeset viewer.