Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(725)

Side by Side Diff: Source/WebCore/css/mediaControlsChromium.css

Issue 8728018: Resize MediaDocument playback to fit window size. (Closed) Base URL: http://git.chromium.org/external/WebKit_trimmed.git@master
Patch Set: Code review fixes. Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « LayoutTests/media/video-scales-in-media-document-expected.txt ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2009 Google Inc. 3 * Copyright (C) 2009 Google Inc.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 12 matching lines...) Expand all
23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 */ 24 */
25 25
26 /* Chromium default media controls */ 26 /* Chromium default media controls */
27 27
28 audio { 28 audio {
29 width: 300px; 29 width: 300px;
30 height: 32px; 30 height: 32px;
31 } 31 }
32 32
33 audio:-webkit-full-page-media, video:-webkit-full-page-media {
34 max-height: 100%;
35 max-width: 100%;
36 }
37
33 audio::-webkit-media-controls-panel, video::-webkit-media-controls-panel { 38 audio::-webkit-media-controls-panel, video::-webkit-media-controls-panel {
34 -webkit-user-select: none; 39 -webkit-user-select: none;
35 position: absolute; 40 position: absolute;
36 overflow: visible; 41 overflow: visible;
37 bottom: 0; 42 bottom: 0;
38 width: 100%; 43 width: 100%;
39 height: 32px; 44 height: 32px;
40 z-index: 0; 45 z-index: 0;
41 background-color: rgba(0, 0, 0, 0.6); 46 background-color: rgba(0, 0, 0, 0.6);
42 } 47 }
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 -webkit-appearance: media-volume-slider; 157 -webkit-appearance: media-volume-slider;
153 display: inline; 158 display: inline;
154 position: absolute; 159 position: absolute;
155 160
156 top: 10px; 161 top: 10px;
157 left: 12px; 162 left: 12px;
158 163
159 width: 10px; 164 width: 10px;
160 height: 80px; 165 height: 80px;
161 } 166 }
OLDNEW
« no previous file with comments | « LayoutTests/media/video-scales-in-media-document-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698