Bug 137387

Summary: REGRESSION (r165896): UIWebView PDFs have a forced black background
Product: WebKit Reporter: Tim Horton <thorton>
Component: PDFAssignee: Tim Horton <thorton>
Status: RESOLVED FIXED    
Severity: Normal CC: aestes, andersca, mitz, sam, simon.fraser
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
patch ddkilzer: review+

Description Tim Horton 2014-10-03 02:05:08 PDT
I made a completely wrong change in http://trac.webkit.org/changeset/165896, trying to maintain Safari's black PDF background but swap to white if the PDF was empty to avoid an all-black view; but, we shouldn't be forcing a background color, as some (all?) clients don't use a black background. Remove that code.

<rdar://problem/17948411>
Comment 1 Tim Horton 2014-10-03 02:07:01 PDT
Created attachment 239193 [details]
patch
Comment 2 Tim Horton 2014-10-03 02:07:01 PDT
Created attachment 239194
Comment 3 David Kilzer (:ddkilzer) 2014-10-03 05:02:57 PDT
Comment on attachment 239193 [details]
patch

r=me
Comment 4 Tim Horton 2014-10-03 13:28:27 PDT
http://trac.webkit.org/changeset/174284