Changeset 185771 in webkit


Ignore:
Timestamp:
Jun 19, 2015, 3:24:55 PM (10 years ago)
Author:
dino@apple.com
Message:

Played <audio> looks invisible against the gray background
https://bugs.webkit.org/show_bug.cgi?id=146164
<rdar://problem/21014284>

Reviewed by Brent Fulgham.

The plus-darker blend mode was not allowing any white to
show through in the rendering. We don't need this for
audio controls, where we draw on an opaque grey background.

  • Modules/mediacontrols/mediaControlsiOS.css:

(audio::-webkit-media-controls-panel): Darken the color of the controls a
little to make white stand out more.
(audio::-webkit-media-controls-timeline): Remove the plus-darker blending.
(video::-webkit-media-controls-timeline): Apply blending only to video.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r185769 r185771  
     12015-06-19  Dean Jackson  <dino@apple.com>
     2
     3        Played <audio> looks invisible against the gray background
     4        https://bugs.webkit.org/show_bug.cgi?id=146164
     5        <rdar://problem/21014284>
     6
     7        Reviewed by Brent Fulgham.
     8
     9        The plus-darker blend mode was not allowing any white to
     10        show through in the rendering. We don't need this for
     11        audio controls, where we draw on an opaque grey background.
     12
     13        * Modules/mediacontrols/mediaControlsiOS.css:
     14        (audio::-webkit-media-controls-panel): Darken the color of the controls a
     15        little to make white stand out more.
     16        (audio::-webkit-media-controls-timeline): Remove the plus-darker blending.
     17        (video::-webkit-media-controls-timeline): Apply blending only to video.
     18
    1192015-06-19  Andy Estes  <aestes@apple.com>
    220
  • trunk/Source/WebCore/Modules/mediacontrols/mediaControlsiOS.css

    r185472 r185771  
    168168audio::-webkit-media-controls-panel {
    169169    height: 39px;
    170     background-color: rgba(228, 228, 228, 1);
     170    background-color: rgba(212, 212, 212, 1);
    171171}
    172172
     
    361361    box-sizing: content-box !important;
    362362    -webkit-transform: translate3d(0, 0, 0);
     363}
     364
     365video::-webkit-media-controls-timeline {
    363366    mix-blend-mode: plus-darker;
    364367}
Note: See TracChangeset for help on using the changeset viewer.