Changeset 175492 in webkit


Ignore:
Timestamp:
Nov 3, 2014 2:54:36 PM (9 years ago)
Author:
Simon Fraser
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):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r175491 r175492  
     12014-11-03  Simon Fraser  <simon.fraser@apple.com>
     2
     3        Video controls have lots of compositing layers
     4        https://bugs.webkit.org/show_bug.cgi?id=138294
     5
     6        Reviewed by Eric Carlson.
     7
     8        After r175268 we get lots of separate small layers in the video
     9        controls (but they pop into a single layer when opacity animates).
     10       
     11        Fix this by putting an explicit z-index on -webkit-media-controls-panel
     12        which is the element that animates opacity.
     13
     14        * Modules/mediacontrols/mediaControlsApple.css:
     15        (audio::-webkit-media-controls-panel):
     16
    1172014-11-03  Commit Queue  <commit-queue@webkit.org>
    218
  • trunk/Source/WebCore/Modules/mediacontrols/mediaControlsApple.css

    r175268 r175492  
    6969    box-sizing: border-box;
    7070    position: relative;
     71    z-index: 0;
    7172    bottom: 0;
    7273    width: 100%;
Note: See TracChangeset for help on using the changeset viewer.