[Webkit-unassigned] [Bug 100865] Drop support for dpi and dpcm units (keep dppx)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 1 04:00:18 PDT 2012


--- Comment #7 from John Mellor <johnme at chromium.org>  2012-11-01 04:01:38 PST ---
Printers are interesting. They could use dppx (300dpi would be 3.125 dppx), but I appreciate that it's more clumsy.

Warning when dpi/dpcm are used in combination with screen would definitely be a good start. I worry that a lot of sites might use them but not specify screen, so would never see the warning.

Could we warn whenever they are used outside of media="print"? This would show a warning for Tab's mixed units example (which combines 1x, 2x and 600dpi in a non-print stylesheet). But on some level that warning seems valid, as that usage is only safe because no devices yet have 600 ppi screens; if the example used 300dpi instead of 600dpi it would behave unpredictably, as the 300dpi would fail to match iPhone 4 etc.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list