Bug 9541 - Implement CSS units correctly
Summary: Implement CSS units correctly
Status: RESOLVED DUPLICATE of bug 11644
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-22 01:37 PDT by Nicholas Shanks
Modified: 2006-11-25 15:03 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicholas Shanks 2006-06-22 01:37:18 PDT
Dave Hyatt wrote on Surfin' Safari:

"Any browser that truly attempted to treat pt as 1/72nd of a physical inch would just end up mis-rendering Web sites … You can’t actually use the physical DPI of the device because it could make the Web site look horribly wrong."

I dispute this, and seek to have 1pt == 1in/72, taking into account the device DPI, and where 1in is exactly one inch across if I hold a ruler up to the screen/page. For example, when dragging a window across screens of differing resolutions, relayout should occur if absolute units are used.
Websites that look horribly wrong like this are *designed* to look horribly wrong. It's not our fault the website designer sucks.

Unless Apple's screens have a way of obtaining their pixel density and dot pitch, this will probably require a lookup table for all flat panels. I think a best guess is all you can achieve with CRTs.
Comment 1 Nicholas Shanks 2006-11-25 15:03:10 PST

*** This bug has been marked as a duplicate of 11644 ***