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

Side by Side Diff: third_party/WebKit/Source/core/css/mediaControls.css

Issue 2701433003: Hide overlay play button if it can't be shown without clipping (Closed)
Patch Set: Add comments for dependent constants Created 3 years, 9 months 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2015 Google Inc. 3 * Copyright (C) 2015 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 116
117 video::-webkit-media-controls-overlay-enclosure { 117 video::-webkit-media-controls-overlay-enclosure {
118 display: flex; 118 display: flex;
119 position: relative; 119 position: relative;
120 flex-direction: column; 120 flex-direction: column;
121 justify-content: flex-end; 121 justify-content: flex-end;
122 align-items: center; 122 align-items: center;
123 flex: 1 1; 123 flex: 1 1;
124 min-height: 0; 124 min-height: 0;
125 width: 100%; 125 width: 100%;
126 /* prevent disambiguation zooms with the panel */ 126 /* Prevent disambiguation zooms with the panel. If this changes, it must
127 * also be changed in core/html/shadow/MediaControls.cpp. */
127 margin-bottom: 10px; 128 margin-bottom: 10px;
128 text-indent: 0; 129 text-indent: 0;
129 box-sizing: border-box; 130 box-sizing: border-box;
130 overflow: hidden; 131 overflow: hidden;
131 } 132 }
132 133
133 video::-webkit-media-controls-overlay-play-button { 134 video::-webkit-media-controls-overlay-play-button {
134 -webkit-appearance: media-overlay-play-button; 135 -webkit-appearance: media-overlay-play-button;
135 display: flex; 136 display: flex;
136 position: absolute; 137 position: absolute;
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after
525 font-weight: bold; 526 font-weight: bold;
526 } 527 }
527 528
528 video::cue(u) { 529 video::cue(u) {
529 text-decoration: underline; 530 text-decoration: underline;
530 } 531 }
531 532
532 video::cue(i) { 533 video::cue(i) {
533 font-style: italic; 534 font-style: italic;
534 } 535 }
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/media/media-controls.js ('k') | third_party/WebKit/Source/core/css/mediaControlsAndroid.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698