[Webkit-unassigned] [Bug 11644] Absolute lengths assume 96.0 DPI

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 25 22:32:52 PDT 2008


https://bugs.webkit.org/show_bug.cgi?id=11644





------- Comment #16 from robburns1 at mac.com  2008-06-25 22:32 PDT -------
I wonder if putting this in terms of Mac OS X resolution independence would
make more sense. A summary such as:

"WebView uses 1.33 points per unit rather than 1.0 points per unit standard for
an NSView"

In other words a CSS inch = 96 NSView units = 1.33 * 72 points = 1*33 * 1 inch
or 0.75 CSS inch = 72 NSView units = 72 points = 1 inch

It's important to underscore here that both CSS and NSView were both long ago
designed for resolution independence (for example both use floats for
dimensions rather than integers like other resolution dependent APIs). The
issue then is that currently WebView does not make a CSS inch equal to an
NSView inch which makes it inconsistent with other applications and even other
views running in the same application on the same system.

BTW, daring fireball has a table of display resolutions for some recent (as of
last year anyway) Apple models:

http://daringfireball.net/2007/06/high_res_macbook_pro#fnr1-2007-06-07


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


More information about the webkit-unassigned mailing list