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

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

Issue 54713007: Hide the CC button for <audio> with <track>s (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: add test Created 7 years, 1 month 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-test.js ('k') | Source/core/css/mediaControlsAndroid.css » ('j') | 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 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 color: inherit; 274 color: inherit;
275 } 275 }
276 276
277 audio::-webkit-media-controls-return-to-realtime-button, video::-webkit-media-co ntrols-return-to-realtime-button { 277 audio::-webkit-media-controls-return-to-realtime-button, video::-webkit-media-co ntrols-return-to-realtime-button {
278 display: none; 278 display: none;
279 background-color: initial; 279 background-color: initial;
280 border: initial; 280 border: initial;
281 color: inherit; 281 color: inherit;
282 } 282 }
283 283
284 audio::-webkit-media-controls-toggle-closed-captions-button, video::-webkit-medi a-controls-toggle-closed-captions-button { 284 audio::-webkit-media-controls-toggle-closed-captions-button {
285 display: none;
286 }
287
288 video::-webkit-media-controls-toggle-closed-captions-button {
285 -webkit-appearance: media-toggle-closed-captions-button; 289 -webkit-appearance: media-toggle-closed-captions-button;
286 display: flex; 290 display: flex;
287 flex: none; 291 flex: none;
288 border: none; 292 border: none;
289 box-sizing: border-box; 293 box-sizing: border-box;
290 width: 30px; 294 width: 30px;
291 height: 30px; 295 height: 30px;
292 line-height: 30px; 296 line-height: 30px;
293 margin-left: -5px; 297 margin-left: -5px;
294 margin-right: 9px; 298 margin-right: 9px;
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 font-weight: bold; 390 font-weight: bold;
387 } 391 }
388 392
389 video::-webkit-media-text-track-container u { 393 video::-webkit-media-text-track-container u {
390 text-decoration: underline; 394 text-decoration: underline;
391 } 395 }
392 396
393 video::-webkit-media-text-track-container i { 397 video::-webkit-media-text-track-container i {
394 font-style: italic; 398 font-style: italic;
395 } 399 }
OLDNEW
« no previous file with comments | « LayoutTests/media/video-test.js ('k') | Source/core/css/mediaControlsAndroid.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698