[Webkit-unassigned] [Bug 270057] Remove non-standard `webkitBackingStorePixelRatio`
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jul 19 14:18:18 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=270057
--- Comment #5 from Ahmad Saleem <ahmad.saleem792 at gmail.com> ---
(In reply to Brent Fulgham from comment #4)
> Note that all major browsers seem to have an analog of this:
>
> ```
> context.webkitBackingStorePixelRatio ||
> context.mozBackingStorePixelRatio ||
> context.msBackingStorePixelRatio ||
> ```
>
> We will want to make sure this doesn't break sites that try to use this for
> something.
I have updated it to check for `moz` - https://jsfiddle.net/z069fcp2/3/
It is `undefined` in Mozilla Firefox.
Additionally - people are using following workaround - https://gist.github.com/callumlocke/cc258a193839691f60dd
leveraging `devicePixelRatio` to workaround the functionality provided by this API.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240719/9c9c877c/attachment.htm>
More information about the webkit-unassigned
mailing list