Changeset 201355 in webkit
- Timestamp:
- May 24, 2016 2:48:20 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r201350 r201355 1 2016-05-24 Ada Chan <adachan@apple.com> 2 3 Only set overflow:hidden on -webkit-media-controls when the placeholder is showing. 4 https://bugs.webkit.org/show_bug.cgi?id=157975 5 6 Reviewed by Eric Carlson. 7 8 This is a Mac only test. The media controls panel should still be visible 9 even if the media element's height is very short. 10 11 * TestExpectations: 12 * media/mac/controls-panel-not-clipped-out-expected.html: Added. 13 * media/mac/controls-panel-not-clipped-out.html: Added. 14 * platform/mac/TestExpectations: 15 16 * platform/mac/media/media-document-audio-repaint-expected.txt: 17 * platform/mac/media/video-zoom-controls-expected.txt: 18 Rebaseline tests. 19 1 20 2016-05-24 Adam Bergkvist <adam.bergkvist@ericsson.com> 2 21 -
trunk/LayoutTests/TestExpectations
r201289 r201355 22 22 fast/events/touch/ios [ Skip ] 23 23 fast/scrolling/ios [ Skip ] 24 media/mac [ Skip ] 24 25 25 26 fast/forms/attributed-strings.html [ Skip ] -
trunk/LayoutTests/platform/mac/TestExpectations
r201308 r201355 11 11 editing/mac [ Pass ] 12 12 fast/scrolling/latching [ Pass ] 13 media/mac [ Pass ] 13 14 14 15 fast/forms/search/search-padding-cancel-results-buttons.html [ Pass ] -
trunk/LayoutTests/platform/mac/media/media-document-audio-repaint-expected.txt
r200196 r201355 22 22 layer at (40,165) size 300x1 23 23 RenderFlexibleBox {DIV} at (0,0) size 300x1 24 layer at (40,121) size 300x45 backgroundClip at (40,165) size 300x1 clip at (40,165) size 300x124 layer at (40,121) size 300x45 25 25 RenderFlexibleBox {DIV} at (0,-44) size 300x45 26 layer at (40,121) size 300x45 backgroundClip at (40,165) size 300x1 clip at (40,165) size 300x1isolatesBlending26 layer at (40,121) size 300x45 isolatesBlending 27 27 RenderBlock (positioned) {DIV} at (0,0) size 300x45 28 layer at (40,121) size 300x45 backgroundClip at (40,165) size 300x1 clip at (40,165) size 300x128 layer at (40,121) size 300x45 29 29 RenderBlock (positioned) {DIV} at (0,0) size 300x45 [bgcolor=#1E1E1E73] 30 layer at (40,121) size 300x45 b ackgroundClip at (40,165) size 300x1 clip at (40,165) size 300x1 blendMode: lighten30 layer at (40,121) size 300x45 blendMode: lighten 31 31 RenderBlock (positioned) {DIV} at (0,0) size 300x45 [bgcolor=#292929] 32 layer at (318,141) size 14x25 backgroundClip at (40,165) size 300x1 clip at (40,165) size 300x1 32 layer at (48,146) size 12x15 blendMode: plus-lighter 33 RenderButton {BUTTON} at (8,25) size 12x15 [color=#FFFFFF] 34 layer at (76,145) size 16x15 blendMode: plus-lighter 35 RenderButton {BUTTON} at (36,24) size 16x16 [color=#FFFFFF] 36 layer at (100,145) size 210x17 37 RenderFlexibleBox {DIV} at (60,24) size 210x17 38 layer at (108,146) size 32x13 blendMode: plus-lighter 39 RenderFlexibleBox {DIV} at (8,2) size 32x13 [color=#FFFFFF] 40 RenderBlock (anonymous) at (2,0) size 30x13 41 RenderText {#text} at (0,0) size 30x13 42 text run at (0,0) width 30: "00:00" 43 layer at (150,145) size 105x17 44 RenderFlexibleBox {DIV} at (50,0) size 105x17 45 layer at (150,145) size 105x17 blendMode: plus-lighter 46 RenderSlider {INPUT} at (0,0) size 105x17 [color=#909090] 47 RenderFlexibleBox {DIV} at (0,0) size 105x17 48 RenderBlock {DIV} at (0,1) size 105x15 49 RenderBlock {DIV} at (50,0) size 4x15 50 layer at (265,146) size 37x13 blendMode: plus-lighter 51 RenderFlexibleBox {DIV} at (165,2) size 37x13 [color=#FFFFFF] 52 RenderBlock (anonymous) at (0,0) size 35x13 53 RenderText {#text} at (0,0) size 35x13 54 text run at (0,0) width 35: "-00:00" 55 layer at (318,141) size 14x25 33 56 RenderFlexibleBox {DIV} at (278,20) size 14x25 57 layer at (318,146) size 14x15 blendMode: plus-lighter 58 RenderButton {BUTTON} at (0,5) size 14x15 [color=#FFFFFF] -
trunk/LayoutTests/platform/mac/media/video-zoom-controls-expected.txt
r200196 r201355 13 13 layer at (57,198) size 240x67 14 14 RenderFlexibleBox {DIV} at (0,112) size 240x68 15 layer at (57,198) size 240x68 backgroundClip at (57,85) size 240x180 clip at (57,85) size 240x180isolatesBlending15 layer at (57,198) size 240x68 isolatesBlending 16 16 RenderBlock (positioned) {DIV} at (0,0) size 240x68 17 layer at (57,198) size 240x68 backgroundClip at (57,85) size 240x180 clip at (57,85) size 240x18017 layer at (57,198) size 240x68 18 18 RenderBlock (positioned) {DIV} at (0,0) size 240x68 [bgcolor=#1E1E1E73] 19 layer at (57,198) size 240x68 b ackgroundClip at (57,85) size 240x180 clip at (57,85) size 240x180 blendMode: lighten19 layer at (57,198) size 240x68 blendMode: lighten 20 20 RenderBlock (positioned) {DIV} at (0,0) size 240x68 [bgcolor=#292929] 21 21 layer at (69,235) size 18x22 blendMode: plus-lighter … … 23 23 layer at (111,234) size 24x22 blendMode: plus-lighter 24 24 RenderButton {BUTTON} at (54,36) size 24x24 [color=#FFFFFF] 25 layer at (221,228) size 21x38 backgroundClip at (57,85) size 240x180 clip at (57,85) size 240x18025 layer at (221,228) size 21x38 26 26 RenderFlexibleBox {DIV} at (163,30) size 22x38 27 27 layer at (221,235) size 21x22 blendMode: plus-lighter … … 33 33 layer at (57,310) size 240x180 34 34 RenderFlexibleBox {DIV} at (0,0) size 240x180 35 layer at (57,423) size 240x67 backgroundClip at (74,291) size 240x180 clip at (74,291) size 240x18035 layer at (57,423) size 240x67 36 36 RenderFlexibleBox {DIV} at (0,112) size 240x68 37 layer at (57,423) size 240x68 backgroundClip at (74,291) size 240x180 clip at (74,291) size 240x180isolatesBlending37 layer at (57,423) size 240x68 isolatesBlending 38 38 RenderBlock (positioned) {DIV} at (0,0) size 240x68 39 layer at (57,423) size 240x68 backgroundClip at (74,291) size 240x180 clip at (74,291) size 240x18039 layer at (57,423) size 240x68 40 40 RenderBlock (positioned) {DIV} at (0,0) size 240x68 [bgcolor=#1E1E1E73] 41 layer at (57,423) size 240x68 b ackgroundClip at (74,291) size 240x180 clip at (74,291) size 240x180 blendMode: lighten41 layer at (57,423) size 240x68 blendMode: lighten 42 42 RenderBlock (positioned) {DIV} at (0,0) size 240x68 [bgcolor=#292929] 43 layer at (69,460) size 18x22 b ackgroundClip at (74,291) size 240x180 clip at (74,291) size 240x180 blendMode: plus-lighter43 layer at (69,460) size 18x22 blendMode: plus-lighter 44 44 RenderButton {BUTTON} at (12,37) size 18x23 [color=#FFFFFF] 45 layer at (111,459) size 24x22 b ackgroundClip at (74,291) size 240x180 clip at (74,291) size 240x180 blendMode: plus-lighter45 layer at (111,459) size 24x22 blendMode: plus-lighter 46 46 RenderButton {BUTTON} at (54,36) size 24x24 [color=#FFFFFF] 47 layer at (221,453) size 21x38 backgroundClip at (74,291) size 240x180 clip at (74,291) size 240x18047 layer at (221,453) size 21x38 48 48 RenderFlexibleBox {DIV} at (163,30) size 22x38 49 layer at (221,460) size 21x22 b ackgroundClip at (74,291) size 240x180 clip at (74,291) size 240x180 blendMode: plus-lighter49 layer at (221,460) size 21x22 blendMode: plus-lighter 50 50 RenderButton {BUTTON} at (0,7) size 21x23 [color=#FFFFFF] 51 layer at (266,460) size 21x22 b ackgroundClip at (74,291) size 240x180 clip at (74,291) size 240x180 blendMode: plus-lighter51 layer at (266,460) size 21x22 blendMode: plus-lighter 52 52 RenderButton {BUTTON} at (208,37) size 22x23 [color=#FFFFFF] -
trunk/Source/WebCore/ChangeLog
r201354 r201355 1 2016-05-23 Ada Chan <adachan@apple.com> 2 3 Only set overflow:hidden on -webkit-media-controls when the placeholder is showing. 4 https://bugs.webkit.org/show_bug.cgi?id=157975 5 6 Reviewed by Eric Carlson. 7 8 Test: media/mac/controls-panel-not-clipped-out.html 9 10 overflow:hidden was added to clip out content contained in -webkit-media-controls 11 that sticks out of the bounds of that container when the inlinePlaybackPlaceholder 12 is showing. However, that style also clips out things that we want to show when the 13 inlinePlaybackPlaceholder is not showing. For example, the volume slider or the 14 controls panel when the video element's height is too short. 15 16 To fix that, we only set overflow:hidden on -webkit-media-controls when the 17 inlinePlaybackPlaceholder is visible. 18 19 * Modules/mediacontrols/mediaControlsApple.css: 20 (::-webkit-media-controls): 21 (::-webkit-media-controls.placeholder-showing): 22 Set overflow:hidden only when the placeholder is showing. 23 24 * Modules/mediacontrols/mediaControlsApple.js: 25 (Controller.prototype.handlePresentationModeChange): 26 Add the placeholderShowing class to -webkit-media-controls only when the 27 inlinePlaybackPlaceholder is not hidden. 28 1 29 2016-05-24 Ryan Haddad <ryanhaddad@apple.com> 2 30 -
trunk/Source/WebCore/Modules/mediacontrols/mediaControlsApple.css
r200584 r201355 60 60 white-space: nowrap; 61 61 -webkit-font-smoothing: subpixel-antialiased; 62 } 63 64 ::-webkit-media-controls.placeholder-showing { 62 65 overflow: hidden; 63 66 } -
trunk/Source/WebCore/Modules/mediacontrols/mediaControlsApple.js
r200976 r201355 116 116 out: 'out', 117 117 pictureInPictureButton: 'picture-in-picture-button', 118 placeholderShowing: 'placeholder-showing', 118 119 }, 119 120 KeyCodes: { … … 872 873 break; 873 874 } 875 876 if (this.controls.inlinePlaybackPlaceholder.classList.contains(this.ClassNames.hidden)) 877 this.base.classList.remove(this.ClassNames.placeholderShowing); 878 else 879 this.base.classList.add(this.ClassNames.placeholderShowing); 874 880 875 881 this.updateControls();
Note: See TracChangeset
for help on using the changeset viewer.