Title: [130683] trunk/Source/WebCore
Revision
130683
Author
[email protected]
Date
2012-10-08 13:58:38 -0700 (Mon, 08 Oct 2012)

Log Message

Upstream some tweaks for overlay play button on Android
https://bugs.webkit.org/show_bug.cgi?id=98671

Patch by Min Qin <[email protected]> on 2012-10-08
Reviewed by Adam Barth.

This change stops displaying the overlay play button if video height is too small
No test for this. Will rebase layout test expectations for android later.

* css/mediaControlsChromiumAndroid.css:
(video::-webkit-media-controls-overlay-enclosure):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (130682 => 130683)


--- trunk/Source/WebCore/ChangeLog	2012-10-08 20:54:48 UTC (rev 130682)
+++ trunk/Source/WebCore/ChangeLog	2012-10-08 20:58:38 UTC (rev 130683)
@@ -1,3 +1,16 @@
+2012-10-08  Min Qin  <[email protected]>
+
+        Upstream some tweaks for overlay play button on Android
+        https://bugs.webkit.org/show_bug.cgi?id=98671
+
+        Reviewed by Adam Barth.
+
+        This change stops displaying the overlay play button if video height is too small
+        No test for this. Will rebase layout test expectations for android later.
+
+        * css/mediaControlsChromiumAndroid.css:
+        (video::-webkit-media-controls-overlay-enclosure):
+
 2012-10-08  Simon Fraser  <[email protected]>
 
         Some GraphicsLayer cleanup to separate the concepts of using a tile cache, and being the main tile cache layer

Modified: trunk/Source/WebCore/css/mediaControlsChromiumAndroid.css (130682 => 130683)


--- trunk/Source/WebCore/css/mediaControlsChromiumAndroid.css	2012-10-08 20:54:48 UTC (rev 130682)
+++ trunk/Source/WebCore/css/mediaControlsChromiumAndroid.css	2012-10-08 20:58:38 UTC (rev 130683)
@@ -82,13 +82,15 @@
 video::-webkit-media-controls-overlay-enclosure {
     display: -webkit-box;
     -webkit-box-orient: horizontal;
-    -webkit-box-pack:center;
-    -webkit-box-align:center;
-    -webkit-box-flex:1;
+    -webkit-box-pack: center;
+    -webkit-box-align: center;
+    -webkit-box-flex: 1;
     width: 100%;
+    height: 100%;
     max-width: 800px;
     text-indent: 0;
     box-sizing: border-box;
+    overflow: hidden;
 }
 
 audio::-webkit-media-controls-mute-button, video::-webkit-media-controls-mute-button {
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to