Bug 146251

Summary: Media controls are missing the white backdrop in UIWebViews
Product: WebKit Reporter: Dean Jackson <dino>
Component: New BugsAssignee: Dean Jackson <dino>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, simon.fraser
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch simon.fraser: review+

Dean Jackson
Reported 2015-06-23 15:09:57 PDT
Media controls are missing the white backdrop in UIWebViews
Attachments
Patch (13.08 KB, patch)
2015-06-23 15:14 PDT, Dean Jackson
no flags
Patch (12.93 KB, patch)
2015-06-23 15:31 PDT, Dean Jackson
simon.fraser: review+
Dean Jackson
Comment 1 2015-06-23 15:13:29 PDT
Dean Jackson
Comment 2 2015-06-23 15:14:28 PDT
Simon Fraser (smfr)
Comment 3 2015-06-23 15:27:09 PDT
Comment on attachment 255439 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=255439&action=review > Source/WebCore/platform/graphics/ca/cocoa/WebSystemBackdropLayer.mm:65 > +- (void)setBackgroundColor:(CGColorRef)backgroundColor > +{ > + UNUSED_PARAM(backgroundColor); > + static CGColorRef layerBackgroundColor; > + if (!layerBackgroundColor) { > + CGFloat components[4] = { 0.8, 0.8, 0.8, 0.8 }; > + layerBackgroundColor = CGColorCreate(cachedCGColorSpace(ColorSpaceSRGB), components); > + [super setBackgroundColor:layerBackgroundColor]; > + } > +} Seems odd to override -setBackgroundColor: and replace the color. Why not just set the background color in -init, and make sure no clients push a background color?
Dean Jackson
Comment 4 2015-06-23 15:31:54 PDT
Dean Jackson
Comment 5 2015-06-23 15:48:32 PDT
Note You need to log in before you can comment on or make changes to this bug.