Title: [184565] trunk/Source/WebCore
- Revision
- 184565
- Author
- [email protected]
- Date
- 2015-05-19 09:26:04 -0700 (Tue, 19 May 2015)
Log Message
Improve text rendering of placeholder
https://bugs.webkit.org/show_bug.cgi?id=145135
Reviewed by Eric Carlson.
* Modules/mediacontrols/mediaControlsApple.css: The <p> elements of the wireless playback
text are being popped out into separate layers, causing the text to render antialiased, which
looks bad on non-retina machines. Explicitly set the background color (which is ok since the
container element for the placeholder is also black). Also extend the height out 1pt to prevent
clipping of descenders.
(audio::-webkit-media-controls-wireless-playback-text-top): Set background color to black and add
1 to the height.
(audio::-webkit-media-controls-wireless-playback-text-bottom): Ditto.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (184564 => 184565)
--- trunk/Source/WebCore/ChangeLog 2015-05-19 16:24:08 UTC (rev 184564)
+++ trunk/Source/WebCore/ChangeLog 2015-05-19 16:26:04 UTC (rev 184565)
@@ -1,5 +1,21 @@
2015-05-19 Jon Lee <[email protected]>
+ Improve text rendering of placeholder
+ https://bugs.webkit.org/show_bug.cgi?id=145135
+
+ Reviewed by Eric Carlson.
+
+ * Modules/mediacontrols/mediaControlsApple.css: The <p> elements of the wireless playback
+ text are being popped out into separate layers, causing the text to render antialiased, which
+ looks bad on non-retina machines. Explicitly set the background color (which is ok since the
+ container element for the placeholder is also black). Also extend the height out 1pt to prevent
+ clipping of descenders.
+ (audio::-webkit-media-controls-wireless-playback-text-top): Set background color to black and add
+ 1 to the height.
+ (audio::-webkit-media-controls-wireless-playback-text-bottom): Ditto.
+
+2015-05-19 Jon Lee <[email protected]>
+
[iOS] Current time display should be right-aligned
https://bugs.webkit.org/show_bug.cgi?id=145163
rdar://problem/21014339
Modified: trunk/Source/WebCore/Modules/mediacontrols/mediaControlsApple.css (184564 => 184565)
--- trunk/Source/WebCore/Modules/mediacontrols/mediaControlsApple.css 2015-05-19 16:24:08 UTC (rev 184564)
+++ trunk/Source/WebCore/Modules/mediacontrols/mediaControlsApple.css 2015-05-19 16:26:04 UTC (rev 184565)
@@ -966,10 +966,11 @@
top: 15pt;
width: 100%;
line-height: 12pt;
- height: 12pt;
+ height: 13pt;
font-size: 12pt;
text-align: center;
margin: 0px;
+ background-color: black;
}
video::-webkit-media-controls-wireless-playback-text-bottom,
@@ -979,13 +980,14 @@
left: 5%;
width: 90%;
line-height: 10pt;
- height: 10pt;
+ height: 11pt;
font-size: 10pt;
text-align: center;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
margin: 0px;
+ background-color: black;
}
video::-webkit-media-controls-wireless-playback-status.small,
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes