WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
136593
PDFDocumentImage can permanently cache wrong-resolution bitmaps
https://bugs.webkit.org/show_bug.cgi?id=136593
Summary
PDFDocumentImage can permanently cache wrong-resolution bitmaps
Tim Horton
Reported
2014-09-05 16:47:54 PDT
PDFDocumentImage has an optimization to use a cached bitmap if we're doing low-quality interpolation, which was intended to only occur during a live resize and when we were guaranteed to get a high-quality paint shortly afterwards. However, on iOS there are some scenarios where we *always* use low-quality interpolation, and there are also CSS properties that allow content to specify that it always wants low-quality interpolation. This results in caching the PDF at the initial scale it's rendered at, and never re-rendering. We should only do this optimization if we're actually in a live resize, and will eventually get a high-quality paint.
Attachments
crazy WIP patch
(31.86 KB, patch)
2014-09-05 16:54 PDT
,
Tim Horton
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Tim Horton
Comment 1
2014-09-05 16:54:59 PDT
Created
attachment 237723
[details]
crazy WIP patch
Radar WebKit Bug Importer
Comment 2
2014-09-05 17:06:35 PDT
<
rdar://problem/18252268
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug