Title: [185771] trunk/Source/WebCore
Revision
185771
Author
[email protected]
Date
2015-06-19 15:24:55 -0700 (Fri, 19 Jun 2015)

Log 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.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (185770 => 185771)


--- trunk/Source/WebCore/ChangeLog	2015-06-19 22:03:06 UTC (rev 185770)
+++ trunk/Source/WebCore/ChangeLog	2015-06-19 22:24:55 UTC (rev 185771)
@@ -1,3 +1,21 @@
+2015-06-19  Dean Jackson  <[email protected]>
+
+        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.
+
 2015-06-19  Andy Estes  <[email protected]>
 
         Various assertion failures occur when executing script in the midst of DOM insertion

Modified: trunk/Source/WebCore/Modules/mediacontrols/mediaControlsiOS.css (185770 => 185771)


--- trunk/Source/WebCore/Modules/mediacontrols/mediaControlsiOS.css	2015-06-19 22:03:06 UTC (rev 185770)
+++ trunk/Source/WebCore/Modules/mediacontrols/mediaControlsiOS.css	2015-06-19 22:24:55 UTC (rev 185771)
@@ -167,7 +167,7 @@
 
 audio::-webkit-media-controls-panel {
     height: 39px;
-    background-color: rgba(228, 228, 228, 1);
+    background-color: rgba(212, 212, 212, 1);
 }
 
 video::-webkit-media-controls-panel.show,
@@ -360,6 +360,9 @@
     border-radius: 0 !important;
     box-sizing: content-box !important;
     -webkit-transform: translate3d(0, 0, 0);
+}
+
+video::-webkit-media-controls-timeline {
     mix-blend-mode: plus-darker;
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to