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

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

Issue 949203002: Separate the text track container from the media controls (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: same size as media controls Created 5 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 | Annotate | Revision Log
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 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 audio::-webkit-media-controls-fullscreen-volume-min-button, video::-webkit-media -controls-fullscreen-volume-min-button { 337 audio::-webkit-media-controls-fullscreen-volume-min-button, video::-webkit-media -controls-fullscreen-volume-min-button {
338 display: none; 338 display: none;
339 } 339 }
340 340
341 audio::-webkit-media-controls-fullscreen-volume-max-button, video::-webkit-media -controls-fullscreen-volume-max-button { 341 audio::-webkit-media-controls-fullscreen-volume-max-button, video::-webkit-media -controls-fullscreen-volume-max-button {
342 display: none; 342 display: none;
343 } 343 }
344 344
345 video::-webkit-media-text-track-container { 345 video::-webkit-media-text-track-container {
346 position: relative; 346 position: relative;
347 width: 100%; 347 width: inherit;
philipj_slow 2015/02/26 09:51:52 I think these actually have no effect since the wi
348 height: inherit;
348 overflow: hidden; 349 overflow: hidden;
349 padding-bottom: 5px;
philipj_slow 2015/02/26 09:51:52 I don't know why this was here.
fs 2015/02/26 12:30:51 I think this may have been used to get a "margin"
350 350
351 font: 22px sans-serif; 351 font: 22px sans-serif;
352 text-align: center; 352 text-align: center;
353 color: rgba(255, 255, 255, 1); 353 color: rgba(255, 255, 255, 1);
354 354
355 letter-spacing: normal; 355 letter-spacing: normal;
356 word-spacing: normal; 356 word-spacing: normal;
357 text-transform: none; 357 text-transform: none;
358 text-indent: 0; 358 text-indent: 0;
359 text-decoration: none; 359 text-decoration: none;
360 pointer-events: none; 360 pointer-events: none;
361 -webkit-user-select: none; 361 -webkit-user-select: none;
362 word-break: break-word; 362 word-break: break-word;
363
364 flex: 1 1;
365 } 363 }
366 364
367 video::cue { 365 video::cue {
368 display: inline; 366 display: inline;
369 367
370 background-color: rgba(0, 0, 0, 0.8); 368 background-color: rgba(0, 0, 0, 0.8);
371 padding: 2px 2px; 369 padding: 2px 2px;
372 } 370 }
373 371
374 video::-webkit-media-text-track-region { 372 video::-webkit-media-text-track-region {
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 font-weight: bold; 409 font-weight: bold;
412 } 410 }
413 411
414 video::-webkit-media-text-track-container u { 412 video::-webkit-media-text-track-container u {
415 text-decoration: underline; 413 text-decoration: underline;
416 } 414 }
417 415
418 video::-webkit-media-text-track-container i { 416 video::-webkit-media-text-track-container i {
419 font-style: italic; 417 font-style: italic;
420 } 418 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698