Changeset 182924 in webkit


Ignore:
Timestamp:
Apr 16, 2015, 4:45:22 PM (10 years ago)
Author:
roger_fong@apple.com
Message:

Media element time displays shouldn't wrap.
https://bugs.webkit.org/show_bug.cgi?id=143854.
<rdar://problem/20284766>

Reviewed by Brent Fulgham.

  • Modules/mediacontrols/mediaControlsApple.css:

(::-webkit-media-controls): Don't wrap any text.
(audio::-webkit-media-controls-time-remaining-display): Also increase remaining time display width by 1.
(audio::-webkit-media-controls-time-remaining-display.five-digit-time): Ditto.
(audio::-webkit-media-controls-time-remaining-display.six-digit-time): Ditto.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r182923 r182924  
     12015-04-16  Roger Fong  <roger_fong@apple.com>
     2
     3        Media element time displays shouldn't wrap.
     4        https://bugs.webkit.org/show_bug.cgi?id=143854.
     5        <rdar://problem/20284766>
     6
     7        Reviewed by Brent Fulgham.
     8
     9        * Modules/mediacontrols/mediaControlsApple.css:
     10        (::-webkit-media-controls): Don't wrap any text.
     11        (audio::-webkit-media-controls-time-remaining-display): Also increase remaining time display width by 1.
     12        (audio::-webkit-media-controls-time-remaining-display.five-digit-time): Ditto.
     13        (audio::-webkit-media-controls-time-remaining-display.six-digit-time): Ditto.
     14
    1152015-04-16  Chris Dumez  <cdumez@apple.com>
    216
  • trunk/Source/WebCore/Modules/mediacontrols/mediaControlsApple.css

    r182900 r182924  
    5858    -webkit-flex-direction: column;
    5959    font: -webkit-small-control;
     60    white-space: nowrap;
    6061    -webkit-font-smoothing: subpixel-antialiased;
    6162}
     
    486487    bottom: 0.5px;
    487488    font-family: -apple-system-font-monospaced-numbers;
     489    -webkit-text-size-adjust:none;
    488490    mix-blend-mode: plus-lighter;
    489491}
     
    501503    margin-left: 8px;
    502504    margin-right: 16px;
    503     width: 36px;
    504     min-width: 36px;
     505    width: 37px;
     506    min-width: 37px;
    505507}
    506508
    507509video::-webkit-media-controls-time-remaining-display.five-digit-time,
    508510audio::-webkit-media-controls-time-remaining-display.five-digit-time {
    509     min-width: 46px;
     511    min-width: 47px;
    510512}
    511513
     
    517519video::-webkit-media-controls-time-remaining-display.six-digit-time,
    518520audio::-webkit-media-controls-time-remaining-display.six-digit-time {
    519     min-width: 53px;
     521    min-width: 54px;
    520522}
    521523
Note: See TracChangeset for help on using the changeset viewer.