[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 03:45:30 PDT 2012


--- Comment #5 from Tab Atkins <tabatkins at google.com>  2012-11-01 03:46:51 PST ---
(In reply to comment #4)
> (In reply to comment #3)
> > (In reply to comment #2) 
> > > Another option would be to warn the user then using dpi etc which are not a factor of 96.
> > 
> > I don't think that's an option - devices can and will have non-integer device scale factors.  Android already uses non-integer device pixel ratios via fixed layout, and we'll probably need 1.4 and 1.8 for windows metro eventually.
> Yeah you are totally right about that, but we can warn about avoid using dpi or dpcm together with 'screen'.

I don't understand. Rick pointed out that android devices - which match the 'screen' media type - have and will continue to have non-integer ratios.

Or are you just arguing that, outside of printing, people should simply never use dpi/dpcm, and just use dppx, with non-integer values when appropriate?

I have an example in the Images 4 spec (<http://dev.w3.org/csswg/css4-images/#image-set-notation> scroll down to example 9) of using both x and dpi in a single image-set() value, where the dpi one is intended for printing.

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