Bug 138294 - Video controls have lots of compositing layers
Summary: Video controls have lots of compositing layers
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Jer Noble
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2014-11-02 10:57 PST by Simon Fraser (smfr)
Modified: 2014-11-07 15:06 PST (History)
12 users (show)

See Also:


Attachments
Layer borders screenshot (12.86 KB, image/png)
2014-11-02 10:57 PST, Simon Fraser (smfr)
no flags Details
Patch (1.53 KB, patch)
2014-11-03 14:10 PST, Simon Fraser (smfr)
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2014-11-02 10:57:02 PST
Created attachment 240816 [details]
Layer borders screenshot

The video controls have a separate compositing layer for each button. I think we lost a z-index that we used to have.
Comment 1 Simon Fraser (smfr) 2014-11-02 10:57:42 PST
Should we do this?
diff --git a/Source/WebCore/Modules/mediacontrols/mediaControlsApple.css b/Source/WebCore/Modules/mediacontrols/mediaControlsApple.css
index 2db40b85f91d76ff8ed21329d9b3b1605452ac3d..b311524148cce41fe39102c191933ec1d627b009 100644
--- a/Source/WebCore/Modules/mediacontrols/mediaControlsApple.css
+++ b/Source/WebCore/Modules/mediacontrols/mediaControlsApple.css
@@ -68,6 +68,7 @@ video::-webkit-media-controls-panel,
 audio::-webkit-media-controls-panel {
     box-sizing: border-box;
     position: relative;
+    z-index: 0;
     bottom: 0;
     width: 100%;
     padding-top: 1px;
Comment 2 Simon Fraser (smfr) 2014-11-02 11:06:13 PST
This seems to be a recent regression, probably from http://trac.webkit.org/changeset/175268
Comment 3 Simon Fraser (smfr) 2014-11-03 14:10:01 PST
Created attachment 240875 [details]
Patch
Comment 4 WebKit Commit Bot 2014-11-03 14:54:31 PST
Comment on attachment 240875 [details]
Patch

Clearing flags on attachment: 240875

Committed r175492: <http://trac.webkit.org/changeset/175492>
Comment 5 WebKit Commit Bot 2014-11-03 14:54:35 PST
All reviewed patches have been landed.  Closing bug.
Comment 6 Radar WebKit Bug Importer 2014-11-07 15:06:02 PST
<rdar://problem/18914116>