Changeset 187317 in webkit
- Timestamp:
- Jul 24, 2015, 12:54:25 AM (11 years ago)
- Location:
- branches/safari-601.1-branch/Source/WebCore
- Files:
-
- 3 edited
-
ChangeLog (modified) (1 diff)
-
Modules/mediacontrols/mediaControlsiOS.css (modified) (1 diff)
-
Modules/mediacontrols/mediaControlsiOS.js (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-601.1-branch/Source/WebCore/ChangeLog
r187313 r187317 1 2015-07-24 Matthew Hanson <matthew_hanson@apple.com> 2 3 Merge r187203. rdar://problem/21012688 4 5 2015-07-22 Dean Jackson <dino@apple.com> 6 7 Video controls, though hidden, are still interactive when in PiP 8 https://bugs.webkit.org/show_bug.cgi?id=147216 9 <rdar://problem/21012688> 10 11 Reviewed by Simon Fraser. 12 13 Explicitly add the PiP class to the controls container so that 14 we can hang a pointer-events: none off it. 15 16 * Modules/mediacontrols/mediaControlsiOS.css: 17 (video::-webkit-media-controls-panel.picture-in-picture): Add a pointer-events: none. 18 * Modules/mediacontrols/mediaControlsiOS.js: 19 (ControllerIOS.prototype.handlePresentationModeChange): Add/remove a PiP class 20 to the controls panel when necessary. 21 1 22 2015-07-24 Matthew Hanson <matthew_hanson@apple.com> 2 23 -
branches/safari-601.1-branch/Source/WebCore/Modules/mediacontrols/mediaControlsiOS.css
r186934 r187317 176 176 } 177 177 178 video::-webkit-media-controls-panel.picture-in-picture { 179 pointer-events: none; 180 } 181 178 182 video::-webkit-media-controls-rewind-button, 179 183 audio::-webkit-media-controls-rewind-button, -
branches/safari-601.1-branch/Source/WebCore/Modules/mediacontrols/mediaControlsiOS.js
r187071 r187317 589 589 switch (presentationMode) { 590 590 case 'inline': 591 this.controls.panel.classList.remove(this.ClassNames.pictureInPicture); 591 592 this.controls.panelContainer.classList.remove(this.ClassNames.pictureInPicture); 592 593 this.controls.inlinePlaybackPlaceholder.classList.add(this.ClassNames.hidden); … … 598 599 break; 599 600 case 'picture-in-picture': 601 this.controls.panel.classList.add(this.ClassNames.pictureInPicture); 600 602 this.controls.panelContainer.classList.add(this.ClassNames.pictureInPicture); 601 603 this.controls.inlinePlaybackPlaceholder.classList.add(this.ClassNames.pictureInPicture); … … 610 612 break; 611 613 default: 614 this.controls.panel.classList.remove(this.ClassNames.pictureInPicture); 612 615 this.controls.panelContainer.classList.remove(this.ClassNames.pictureInPicture); 613 616 this.controls.inlinePlaybackPlaceholder.classList.remove(this.ClassNames.pictureInPicture);
Note:
See TracChangeset
for help on using the changeset viewer.