Changeset 228185 in webkit
- Timestamp:
- Feb 6, 2018 11:36:40 AM (6 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r228184 r228185 1 2018-02-06 Antoine Quint <graouts@apple.com> 2 3 [Modern Media Controls] Test at media/modern-media-controls/tracks-panel/tracks-panel-controls-bar-remains-visible-after-clicking-over-it.html fails 4 https://bugs.webkit.org/show_bug.cgi?id=182425 5 6 Reviewed by Dean Jackson. 7 8 Turn the test back on now that it works. 9 10 * platform/mac/TestExpectations: 11 1 12 2018-02-06 Antoine Quint <graouts@apple.com> 2 13 -
trunk/LayoutTests/platform/mac/TestExpectations
r228150 r228185 1463 1463 webkit.org/b/178126 media/modern-media-controls/media-controller/media-controller-auto-hide-mouse-enter-over-controls-bar.html [ Skip ] 1464 1464 webkit.org/b/178127 media/modern-media-controls/media-controller/media-controller-video-with-only-audio.html [ Skip ] 1465 webkit.org/b/182425 media/modern-media-controls/tracks-panel/tracks-panel-controls-bar-remains-visible-after-clicking-over-it.html [ Failure ]1466 1465 1467 1466 # This test relies on the control overlay not being visible in the top left. But the test now fails on Mac because -
trunk/Source/WebCore/ChangeLog
r228180 r228185 1 2018-02-06 Antoine Quint <graouts@apple.com> 2 3 [Modern Media Controls] Test at media/modern-media-controls/tracks-panel/tracks-panel-controls-bar-remains-visible-after-clicking-over-it.html fails 4 https://bugs.webkit.org/show_bug.cgi?id=182425 5 6 Reviewed by Dean Jackson. 7 8 This test failed because the controls bar would not hit test at the moment we synthesized a mousemove over the controls bar as the first step towards 9 synthesizing a click on the controls bar to dismiss the tracks panel. Indeed, it would have "pointer-events" set to "none" until the tracks panel was 10 dismissed, which would only happen after the click event had been propagated. All we need to do is to ensure that none of the controls within the controls 11 bar get activated as a result of clicking over them when the tracks panel is visible, so we instead set "pointer-events" to "none" on all children of a 12 controls bar rather than the controls bar itself, which can thus still hit test. 13 14 * Modules/modern-media-controls/controls/media-controls.css: 15 (.media-controls.shows-tracks-panel > .controls-bar > *,): 16 (.media-controls.shows-tracks-panel > .controls-bar,): Deleted. 17 1 18 2018-02-06 Chris Dumez <cdumez@apple.com> 2 19 -
trunk/Source/WebCore/Modules/modern-media-controls/controls/media-controls.css
r226825 r228185 98 98 } 99 99 100 .media-controls.shows-tracks-panel > .controls-bar ,100 .media-controls.shows-tracks-panel > .controls-bar > *, 101 101 .media-controls.shows-tracks-panel > button { 102 102 pointer-events: none;
Note: See TracChangeset
for help on using the changeset viewer.