Changeset 183703 in webkit
- Timestamp:
- May 1, 2015 5:47:04 PM (9 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r183702 r183703 1 2015-05-01 Roger Fong <roger_fong@apple.com> 2 3 Media control volume slider should be vertical to avoid flickering issues. 4 https://bugs.webkit.org/show_bug.cgi?id=144496. 5 <rdar://problem/20451328> 6 7 Reviewed by Darin Adler. 8 9 * Modules/mediacontrols/mediaControlsApple.css: 10 Resize and reposition the volume box so that it does not have to rotated via a transform. 11 (audio::-webkit-media-controls-panel): 12 (audio::-webkit-media-controls-panel .volume-box): Also set overflow: hidden so we can't interact 13 with the volume slider while the volume box is hidden. 14 (audio::-webkit-media-controls-panel .volume-box:active): 15 Rotate and position the volume slider via transforms. Make sure it's not transformed in the fullscreen controls. 16 (video::-webkit-media-controls-volume-slider): 17 (video:-webkit-full-screen::-webkit-media-controls-volume-slider): 18 1 19 2015-05-01 Brent Fulgham <bfulgham@apple.com> 2 20 -
trunk/Source/WebCore/Modules/mediacontrols/mediaControlsApple.css
r183693 r183703 214 214 position: absolute; 215 215 box-sizing: border-box; 216 height: 63px;217 bottom: 0;218 left: 0;216 width: 63px; 217 bottom: 5px; 218 left: -25px; 219 219 220 -webkit-clip-path: inset(20px 20px 20px 20px round 0px 4px 4px 0px); 221 -webkit-transform: rotate(-90deg) translateY(-51.5px) translateX(31.5px); 222 220 -webkit-clip-path: inset(20px 20px 20px 20px round 4px 4px 0px 0px); 223 221 background-color: transparent; 224 border-bottom-right-radius: 4px; 225 border-top-right-radius: 4px; 222 overflow: hidden; 226 223 227 224 display: -webkit-flex; … … 231 228 232 229 opacity: 0; 233 /* make zero width(rather than display:none) for AX and FKA */234 width: 0; /* will become 101px when shown */230 /* make zero height (rather than display:none) for AX and FKA */ 231 height: 0px; /* will become 116px when shown */ 235 232 236 233 } … … 275 272 opacity: 1; 276 273 /* resize to usable amount (rather than display:none) for AX and FKA */ 277 width: 116px;274 height: 116px; 278 275 } 279 276 … … 283 280 box-sizing: border-box !important; 284 281 height: 9px !important; 282 min-width: 64px !important; 285 283 width: 64px !important; 286 284 padding: 0 !important; 287 margin -right: 30px!important;285 margin: 0 !important; 288 286 289 287 background-color: transparent !important; 290 288 background-size: 100% 100%; 291 289 background-repeat: no-repeat; 290 -webkit-transform-origin: 0 0; 291 -webkit-transform: rotate(-90deg) translateY(28px) translateX(-40px); 292 292 mix-blend-mode: plus-lighter; 293 293 } … … 670 670 671 671 video:-webkit-full-screen::-webkit-media-controls-volume-slider { 672 -webkit-transform: none; 672 673 background-color: transparent; 674 min-width: 60px !important; 673 675 width: 60px !important; 676 height: 9px !important; 674 677 margin: 0 !important; 675 678 }
Note: See TracChangeset
for help on using the changeset viewer.