Changeset 190053 in webkit
- Timestamp:
- Sep 21, 2015 1:37:25 AM (9 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r190041 r190053 1 2015-09-21 ChangSeok Oh <changseok.oh@collabora.com> 2 3 [GTK] timeline is not updated after few seconds when mouse hovers on controls 4 https://bugs.webkit.org/show_bug.cgi?id=149111 5 6 Reviewed by Philippe Normand. 7 8 * media/media-controls-timeline-updates-when-hovered-expected.txt: Added. 9 * media/media-controls-timeline-updates-when-hovered.html: Added. 10 1 11 2015-09-20 Andy Estes <aestes@apple.com> 2 12 -
trunk/Source/WebCore/ChangeLog
r190045 r190053 1 2015-09-21 ChangSeok Oh <changseok.oh@collabora.com> 2 3 [GTK] timeline is not updated after few seconds when mouse hovers on controls 4 https://bugs.webkit.org/show_bug.cgi?id=149111 5 6 Reviewed by Philippe Normand. 7 8 Timeline is not updated if controlsAreHidden is true. The problem here is that 9 the function does not mean actually 'hidden' since it only checkes 'show' and 'hidden' 10 class existences. The panel's visibility are not only controlled by the two classes, 11 but also by video::-webkit-media-controls-panel:hover. The panel could be visible 12 by setting the pseudo hover class. So we need to check if panel is hovered as well in controlsAreHidden(). 13 14 Test: media/media-controls-timeline-updates-when-hovered.html 15 16 * Modules/mediacontrols/mediaControlsBase.js: 17 (Controller.prototype.controlsAreHidden): 18 1 19 2015-09-21 Michael Catanzaro <mcatanzaro@igalia.com> 2 20 -
trunk/Source/WebCore/Modules/mediacontrols/mediaControlsBase.js
r180441 r190053 1024 1024 controlsAreHidden: function() 1025 1025 { 1026 return !this.controls.panel.classList.contains(this.ClassNames.show) || this.controls.panel.classList.contains(this.ClassNames.hidden); 1026 var panel = this.controls.panel; 1027 return (!panel.classList.contains(this.ClassNames.show) || panel.classList.contains(this.ClassNames.hidden)) 1028 && (panel.parentElement.querySelector(':hover') !== panel); 1027 1029 }, 1028 1030
Note: See TracChangeset
for help on using the changeset viewer.