WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
67225
Plug-ins have to use JavaScript to find out the current device scale factor
https://bugs.webkit.org/show_bug.cgi?id=67225
Summary
Plug-ins have to use JavaScript to find out the current device scale factor
Adam Roben (:aroben)
Reported
2011-08-30 13:47:51 PDT
In order to find out the current device scale factor, plug-ins have to use JavaScript to determine the window.devicePixelRatio value. It would be much nicer if we had a simple NPAPI-style API for them to use instead.
Attachments
Patch
(24.70 KB, patch)
2011-10-25 15:48 PDT
,
Anders Carlsson
darin
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2011-08-30 13:48:23 PDT
<
rdar://problem/10048258
>
Anders Carlsson
Comment 2
2011-10-25 15:48:13 PDT
Created
attachment 112416
[details]
Patch
Anders Carlsson
Comment 3
2011-10-25 15:59:37 PDT
Committed
r98403
: <
http://trac.webkit.org/changeset/98403
>
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