Default media controls use a serif font, which seems wrong
authordino@apple.com <dino@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 22 Jul 2015 01:39:17 +0000 (01:39 +0000)
committerdino@apple.com <dino@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 22 Jul 2015 01:39:17 +0000 (01:39 +0000)
https://bugs.webkit.org/show_bug.cgi?id=147179
<rdar://problem/21931728>

Reviewed by Simon Fraser.

The captions menu (and other text) should use a system style,
-webkit-small-control.

* Modules/mediacontrols/mediaControlsApple.css:
(::-webkit-media-controls):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187144 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/Modules/mediacontrols/mediaControlsApple.css

index 7f10ee9..fa88014 100644 (file)
@@ -1,3 +1,17 @@
+2015-07-21  Dean Jackson  <dino@apple.com>
+
+        Default media controls use a serif font, which seems wrong
+        https://bugs.webkit.org/show_bug.cgi?id=147179
+        <rdar://problem/21931728>
+
+        Reviewed by Simon Fraser.
+
+        The captions menu (and other text) should use a system style,
+        -webkit-small-control.
+
+        * Modules/mediacontrols/mediaControlsApple.css:
+        (::-webkit-media-controls):
+
 2015-07-21  Matthew Daiter  <mdaiter@apple.com>
 
         Exposed method to query device by UID
index a8c13c7..a14874b 100644 (file)
@@ -56,6 +56,7 @@ video:-webkit-full-page-media::-webkit-media-controls-panel.no-video {
     -webkit-align-items: stretch;
     -webkit-justify-content: flex-end;
     -webkit-flex-direction: column;
+    font: -webkit-small-control;
     white-space: nowrap;
     -webkit-font-smoothing: subpixel-antialiased;
 }