We are always assuming that the ratio between snapshot rect size and snapshot size will be device scale, which is not always correct.
Created attachment 253231 [details] Correct the scale and transform used for IOSurface snapshots.
rdar://19816542
Created attachment 253232 [details] Updated change log
Comment on attachment 253232 [details] Updated change log View in context: https://bugs.webkit.org/attachment.cgi?id=253232&action=review > Source/WebKit2/ChangeLog:3 > + Web view snapshots incorrectly scale transform Title should probably start with "REGRESSION (r181910):", and maybe WKWebView instead of "Web view" and "snapshot" instead of "transform"?
Created attachment 253233 [details] Updated for review feedback.
Whoops, this is actually rdar://problem/20410944.
Comment on attachment 253233 [details] Updated for review feedback. Rejecting attachment 253233 [details] from commit-queue. james.savage@apple.com does not have committer permissions according to http://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/common/config/contributors.json. - If you do not have committer rights please read http://webkit.org/coding/contributing.html for instructions on how to use bugzilla flags. - If you have committer rights please correct the error in Tools/Scripts/webkitpy/common/config/contributors.json by adding yourself to the file (no review needed). The commit-queue restarts itself every 2 hours. After restart the commit-queue will correctly respect your committer rights.
Comment on attachment 253233 [details] Updated for review feedback. Clearing flags on attachment: 253233 Committed r184422: <http://trac.webkit.org/changeset/184422>