Bug 71025 - HiDPI: REGRESSION (r97191): Clients can't reliably determine the scale factor of snapshots returned via WKBundlePageCreateSnapshot* API
Summary: HiDPI: REGRESSION (r97191): Clients can't reliably determine the scale factor...
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.7
: P2 Normal
Assignee: Adam Roben (:aroben)
Keywords: InRadar, Regression
Depends on:
Reported: 2011-10-27 09:03 PDT by Adam Roben (:aroben)
Modified: 2011-10-27 09:25 PDT (History)
4 users (show)

See Also:

Add WKBundlePageGetBackingScaleFactor (18.13 KB, patch)
2011-10-27 09:13 PDT, Adam Roben (:aroben)
sam: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Roben (:aroben) 2011-10-27 09:03:46 PDT
r97191 (bug 69874) changed the behavior of the WKBundlePageCreateSnapshot* API to return snapshots that are scaled to match the view's backing scale factor. But there's no way to figure out what the backing scale factor is from injected bundle code, so clients can't figure out how to display these snapshots correctly.
Comment 1 Radar WebKit Bug Importer 2011-10-27 09:04:32 PDT
Comment 2 Adam Roben (:aroben) 2011-10-27 09:13:50 PDT
Created attachment 112693 [details]
Add WKBundlePageGetBackingScaleFactor
Comment 3 Adam Roben (:aroben) 2011-10-27 09:25:08 PDT
Committed r98588: <http://trac.webkit.org/changeset/98588>