devicePixelRatio

devicePixelRatio

[1] IRC logs: freenode / #whatwg / 20130519 ( ( 版)) <http://krijnhoetmer.nl/irc-logs/whatwg/20130519>

[2] More about devicePixelRatio - QuirksBlog ( ( 版)) <http://www.quirksmode.org/blog/archives/2012/07/more_about_devi.html>

[3] ハマリメモ:Android の devicePixelRatio 1.5 問題【その仕事、蠍は留守です】 ( ( 版)) <http://www.hitoyam.com/web/2011/03/06_2359.html>

[4] Safari 7.0 ( 版) <https://developer.apple.com/library/safari/releasenotes/General/WhatsNewInSafari/Articles/Safari_7_0.html#//apple_ref/doc/uid/TP40014305-CH5-SW18>

Rendering sharp, high-resolution images on a Retina display requires a “doubled” backing store with twice the width and height (four times the number of pixels) as on a non-Retina display. Safari 6 supported this by auto-doubling the specified dimensions of the backing store when rendering to a Retina display. However, because of memory constraints, iOS does not perform this auto-doubling, leading to resolution mismatches, confusion, and inconvenience. To alleviate the difficulties, Safari 7 no longer auto-doubles the backing store, but matches the iOS behavior by honoring the requested dimensions as specified.

Note: Existing code using the devicePixelRatio and webkitBackingStorePixelRatio properties to match the resolution of the backing store to that of the device will continue to work correctly without modification. Code that does not rely on these properties may have to be modified to accommodate the new behavior.

[5] [css-paint-api] Add devicePixelRatio property to PaintRenderingContex… (xidachen著, ) <https://github.com/w3c/css-houdini-drafts/commit/70d944c680e91add5257ef5cc5529b47e684366d>