Title: [201299] trunk/Source/WebCore
Revision
201299
Author
[email protected]
Date
2016-05-23 15:07:25 -0700 (Mon, 23 May 2016)

Log Message

Missing/Incomplete timestamp for inline Audio player in ePub book
https://bugs.webkit.org/show_bug.cgi?id=157998
<rdar://problem/25858437>

Reviewed by Jon Lee and Tim Horton.

On iOS it is rare to apply a text-zoom (Safari does not provide
UI for it). However, iBooks uses text-zoom to increase the font
size. This causes the time displays in the media controls to
overflow their containers and be clipped.

The solution is to simply reset the text zoom for the media controls,
which means the time displays will always be a constant size.

* Modules/mediacontrols/mediaControlsiOS.css:
(audio::-webkit-media-controls-time-remaining-display):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (201298 => 201299)


--- trunk/Source/WebCore/ChangeLog	2016-05-23 22:06:57 UTC (rev 201298)
+++ trunk/Source/WebCore/ChangeLog	2016-05-23 22:07:25 UTC (rev 201299)
@@ -1,3 +1,22 @@
+2016-05-23  Dean Jackson  <[email protected]>
+
+        Missing/Incomplete timestamp for inline Audio player in ePub book
+        https://bugs.webkit.org/show_bug.cgi?id=157998
+        <rdar://problem/25858437>
+
+        Reviewed by Jon Lee and Tim Horton.
+
+        On iOS it is rare to apply a text-zoom (Safari does not provide
+        UI for it). However, iBooks uses text-zoom to increase the font
+        size. This causes the time displays in the media controls to
+        overflow their containers and be clipped.
+
+        The solution is to simply reset the text zoom for the media controls,
+        which means the time displays will always be a constant size.
+
+        * Modules/mediacontrols/mediaControlsiOS.css:
+        (audio::-webkit-media-controls-time-remaining-display):
+
 2016-05-23  Zalan Bujtas  <[email protected]>
 
         Changing border color and size simultaneously fails to repaint.

Modified: trunk/Source/WebCore/Modules/mediacontrols/mediaControlsiOS.css (201298 => 201299)


--- trunk/Source/WebCore/Modules/mediacontrols/mediaControlsiOS.css	2016-05-23 22:06:57 UTC (rev 201298)
+++ trunk/Source/WebCore/Modules/mediacontrols/mediaControlsiOS.css	2016-05-23 22:07:25 UTC (rev 201299)
@@ -461,6 +461,7 @@
     height: 50px;
     font-size: 13px;
     font-family: -apple-system-monospaced-numbers;
+    -webkit-text-zoom: reset;
 }
 
 audio::-webkit-media-controls-current-time-display,
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to