Title: [175492] trunk/Source/WebCore
Revision
175492
Author
[email protected]
Date
2014-11-03 14:54:36 -0800 (Mon, 03 Nov 2014)

Log Message

Video controls have lots of compositing layers
https://bugs.webkit.org/show_bug.cgi?id=138294

Reviewed by Eric Carlson.

After r175268 we get lots of separate small layers in the video
controls (but they pop into a single layer when opacity animates).

Fix this by putting an explicit z-index on -webkit-media-controls-panel
which is the element that animates opacity.

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

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (175491 => 175492)


--- trunk/Source/WebCore/ChangeLog	2014-11-03 22:27:59 UTC (rev 175491)
+++ trunk/Source/WebCore/ChangeLog	2014-11-03 22:54:36 UTC (rev 175492)
@@ -1,3 +1,19 @@
+2014-11-03  Simon Fraser  <[email protected]>
+
+        Video controls have lots of compositing layers
+        https://bugs.webkit.org/show_bug.cgi?id=138294
+
+        Reviewed by Eric Carlson.
+
+        After r175268 we get lots of separate small layers in the video
+        controls (but they pop into a single layer when opacity animates).
+        
+        Fix this by putting an explicit z-index on -webkit-media-controls-panel
+        which is the element that animates opacity.
+
+        * Modules/mediacontrols/mediaControlsApple.css:
+        (audio::-webkit-media-controls-panel):
+
 2014-11-03  Commit Queue  <[email protected]>
 
         Unreviewed, rolling out r175406, r175413, and r175423.

Modified: trunk/Source/WebCore/Modules/mediacontrols/mediaControlsApple.css (175491 => 175492)


--- trunk/Source/WebCore/Modules/mediacontrols/mediaControlsApple.css	2014-11-03 22:27:59 UTC (rev 175491)
+++ trunk/Source/WebCore/Modules/mediacontrols/mediaControlsApple.css	2014-11-03 22:54:36 UTC (rev 175492)
@@ -68,6 +68,7 @@
 audio::-webkit-media-controls-panel {
     box-sizing: border-box;
     position: relative;
+    z-index: 0;
     bottom: 0;
     width: 100%;
     padding-top: 1px;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to