Changeset 181062 in webkit
- Timestamp:
- Mar 4, 2015 6:27:44 PM (9 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r181058 r181062 1 2015-03-04 Commit Queue <commit-queue@webkit.org> 2 3 Unreviewed, rolling out r181046. 4 https://bugs.webkit.org/show_bug.cgi?id=142318 5 6 Broke two layout tests (Requested by sundiamonde on #webkit). 7 8 Reverted changeset: 9 10 "Update inline media control icons for OSX." 11 https://bugs.webkit.org/show_bug.cgi?id=142305 12 http://trac.webkit.org/changeset/181046 13 1 14 2015-03-04 Timothy Horton <timothy_horton@apple.com> 2 15 -
trunk/Source/WebCore/Modules/mediacontrols/mediaControlsApple.css
r181046 r181062 107 107 padding: 0; 108 108 border: 0; 109 height: 15px; 109 height: 16px; 110 width: 16px; 110 111 background-color: transparent; 111 112 color: white; … … 127 128 height: 18px; 128 129 margin-bottom: 1px; 129 margin-left: 16px;130 margin-left: 8px; 130 131 } 131 132 132 133 video::-webkit-media-controls-play-button, 133 134 audio::-webkit-media-controls-play-button { 134 background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1 2 15" fill="white"><rect x="0" y="1" width="4" height="12"/><rect x="8" y="1" width="4" height="12"/></svg>');135 background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15 15"><linearGradient id="gradient" x2="0" y2="100%" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="rgb(216, 216, 216)"/><stop offset="0.4375" stop-color="rgb(216, 216, 216)"/><stop offset="0.4375" stop-color="rgb(208, 208, 208)"/><stop offset="0.5" stop-color="rgb(208, 208, 208)"/><stop offset="0.5" stop-color="rgb(200, 200, 200)"/><stop offset="1" stop-color="rgb(208, 208, 208)"/></linearGradient><path d="M 0,0 v 16 h 6 v -16 h -6 z" fill="url(#gradient)"/><path d="M 9,0 v 16 h 6 v -16 h -6 z" fill="url(#gradient)"/></svg>'); 135 136 margin-left: 16px; 136 width: 12px;137 137 } 138 138 139 139 video::-webkit-media-controls-play-button.paused, 140 140 audio::-webkit-media-controls-play-button.paused { 141 background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 15" fill="white"><path d="M 0,1 11,7 0,13 z"/></svg>'); 142 width: 12px; 141 background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15 15"><linearGradient id="gradient" x2="0" y2="100%" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="rgb(216, 216, 216)"/><stop offset="0.4375" stop-color="rgb(216, 216, 216)"/><stop offset="0.4375" stop-color="rgb(208, 208, 208)"/><stop offset="0.5" stop-color="rgb(208, 208, 208)"/><stop offset="0.5" stop-color="rgb(200, 200, 200)"/><stop offset="1" stop-color="rgb(208, 208, 208)"/></linearGradient><path d="M 0,0 15,7 0,15 z" fill="url(#gradient)"/></svg>'); 143 142 } 144 143 145 144 video::-webkit-media-controls-panel .mute-box, 146 145 audio::-webkit-media-controls-panel .mute-box { 147 width: 1 4px;148 height: 1 5px;146 width: 16px; 147 height: 16px; 149 148 margin-right: 16px; 150 149 position: relative; … … 158 157 audio::-webkit-media-controls-mute-button, 159 158 video::-webkit-media-controls-volume-max-button { 160 width: 14px; 161 background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15 15" stroke="white" fill="none" stroke-width="1.25" stroke-linecap="round"><path fill="white" stroke="rgba(255,255,255,0.67)" d="M 0,9 0,5 3,5 6,2 6,12 3,9 0,9 z"/><path d="M 9,5 C 10.75,6.5 10.75,7.5 9,9"/><path d="M 10,3 C 13,4 13,10 10,11" /><path d="M 11,1 C 15.67,3 15.67,11 11,13"/></svg>'); 159 background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15 15"><linearGradient id="gradient" x2="0" y2="100%" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="rgb(216, 216, 216)"/><stop offset="0.4375" stop-color="rgb(216, 216, 216)"/><stop offset="0.4375" stop-color="rgb(208, 208, 208)"/><stop offset="0.5" stop-color="rgb(208, 208, 208)"/><stop offset="0.5" stop-color="rgb(200, 200, 200)"/><stop offset="1" stop-color="rgb(208, 208, 208)"/></linearGradient><path d="m 0,9 0,-4 3,0 3,-3 0,10 -3,-3 -3,0 z" style="fill:url(#gradient) "/><path d="m 10.449,1.087 c 1.963,1.055 3.322,3.291 3.322,5.881 0,2.642 -1.402,4.913 -3.424,5.945" style="fill:none;stroke:url(#gradient);stroke-width:1.25;stroke-linecap:round;"/><path d="m 9.13,3.134 c 1.289,0.681 2.181,2.142 2.181,3.835 0,1.743001 -0.939,3.24 -2.285,3.897" style="fill:none;stroke:url(#gradient);stroke-width:1.25;stroke-linecap:round;"/><path d="M 7.794,5.175 C 8.403001,5.491 8.827001,6.167 8.827001,6.971 8.827001,7.818 8.356,8.537001 7.688,8.826" style="fill:none;stroke:url(#gradient);stroke-width:1.25;stroke-linecap:round;"/></svg>'); 162 160 } 163 161 … … 224 222 audio::-webkit-media-controls-mute-button.muted, 225 223 video::-webkit-media-controls-volume-min-button { 226 background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15 15" ><path fill="white" stroke="rgba(255,255,255,0.67)" d="M 0,9 0,5 3,5 6,2 6,12 3,9 0,9 z"/></svg>');224 background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15 15"><linearGradient id="gradient" x2="0" y2="100%" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="rgb(216, 216, 216)"/><stop offset="0.4375" stop-color="rgb(216, 216, 216)"/><stop offset="0.4375" stop-color="rgb(208, 208, 208)"/><stop offset="0.5" stop-color="rgb(208, 208, 208)"/><stop offset="0.5" stop-color="rgb(200, 200, 200)"/><stop offset="1" stop-color="rgb(208, 208, 208)"/></linearGradient><path d="m 0,9 0,-4 3,0 3,-3 0,10 -3,-3 -3,0 z" fill="url(#gradient)"/></svg>'); 227 225 } 228 226 229 227 video::-webkit-media-controls-toggle-closed-captions-button, 230 228 audio::-webkit-media-controls-toggle-closed-captions-button { 231 width: 15px; 229 width: 16px; 230 height: 16px; 232 231 margin-right: 16px; 233 background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 102 105" fill="white"><path d="M98.766,43.224c0-23.163-21.775-41.94-48.637-41.94c-26.859,0-48.635,18.777-48.635,41.94c0,18.266,13.546,33.796,32.444,39.549c1.131,8.356,26.037,24.255,22.864,19.921c-4.462-6.096-5.159-13.183-5.07-17.566C77.85,84.397,98.766,65.923,98.766,43.224z" fill="url(#gradient)"/></svg>');232 background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 102 105"><linearGradient id="gradient" x2="0" y2="100%" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="rgb(216, 216, 216)"/><stop offset="0.46875" stop-color="rgb(216, 216, 216)"/><stop offset="0.46875" stop-color="rgb(208, 208, 208)"/><stop offset="0.53125" stop-color="rgb(208, 208, 208)"/><stop offset="0.53125" stop-color="rgb(200, 200, 200)"/><stop offset="1" stop-color="rgb(208, 208, 208)"/></linearGradient><path d="M98.766,43.224c0-23.163-21.775-41.94-48.637-41.94c-26.859,0-48.635,18.777-48.635,41.94c0,18.266,13.546,33.796,32.444,39.549c1.131,8.356,26.037,24.255,22.864,19.921c-4.462-6.096-5.159-13.183-5.07-17.566C77.85,84.397,98.766,65.923,98.766,43.224z" fill="url(#gradient)"/></svg>'); 234 233 outline: 0; 235 234 } … … 333 332 video::-webkit-media-controls-fullscreen-button, 334 333 audio::-webkit-media-controls-fullscreen-button { 335 background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1 3 15" transform="rotate(90,0,0)" stroke="white" shape-rendering="geometricPrecision"><path d="M 6.5,1.5 L 11.5,1.5 L 11.5,6.5 M 11.5,1.5 L 6.75,6.25"/><path d="M 0.5,7.5 L 0.5,12.5 L 5.5,12.5 M 0.5,12.5 L 5.25,7.75"/></svg>');334 background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15 15" transform="rotate(90,0,0)"><linearGradient id="gradient" x2="0" y2="100%" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="rgb(216, 216, 216)"/><stop offset="0.4375" stop-color="rgb(216, 216, 216)"/><stop offset="0.4375" stop-color="rgb(208, 208, 208)"/><stop offset="0.5" stop-color="rgb(208, 208, 208)"/><stop offset="0.5" stop-color="rgb(200, 200, 200)"/><stop offset="1" stop-color="rgb(208, 208, 208)"/></linearGradient><path d="M 14,1 m 0,6 -2,-2 -2,2 c 0,0 -1,1 -2,0 -1,-1 0,-2 0,-2 l 2,-2 -2,-2 6,0 z" style="fill:url(#gradient) "/><path d="M 1,14 m 0,-6 2,2 2,-2 c 0,0 1,-1 2,0 1,1 0,2 0,2 l -2,2 2,2 -6,0 z" style="fill:url(#gradient) "/></svg>'); 336 335 margin-right: 8px; 337 width: 13px;338 336 } 339 337 video::-webkit-media-controls-fullscreen-button.exit, … … 409 407 video::-webkit-media-controls-current-time-display, 410 408 audio::-webkit-media-controls-current-time-display { 411 margin-left: 8px;409 margin-left: 16px; 412 410 margin-right: 8px; 413 411 width: 28px; -
trunk/Source/WebCore/Modules/mediacontrols/mediaControlsApple.js
r181046 r181062 460 460 configureInlineControls: function() 461 461 { 462 this.controls.panel.appendChild(this.controls.playButton);463 462 if (!this.isLive) 464 463 this.controls.panel.appendChild(this.controls.rewindButton); 464 this.controls.panel.appendChild(this.controls.playButton); 465 465 this.controls.panel.appendChild(this.controls.statusDisplay); 466 466 if (!this.isLive) { … … 834 834 if (this.video.muted) 835 835 this.controls.muteButton.setAttribute('aria-label', this.UIString('Unmute')); 836 this.drawVolumeBackground();837 836 return true; 838 837 }, … … 1566 1565 this.controls.volume.value = this.video.volume; 1567 1566 } 1568 this.drawVolumeBackground();1569 1567 }, 1570 1568
Note: See TracChangeset
for help on using the changeset viewer.