Bug 66256
Summary: | Incorrect CSS dimensions in px on page zoom | ||
---|---|---|---|
Product: | WebKit | Reporter: | CJ Bates <cjbates123> |
Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | aroben, bfulgham, donotknow, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | http://cjbportfolio.com/lab/webkitbug.html |
CJ Bates
When changing the page zoom, the CSS "width" property of some elements are off by +/- 1px. I assume this has to do with the rounding calculations when a page is zoomed.
I've provided a link to a page that demos this bug. I am alerting the width of an element, and if you zoom the page in or out you can see that the width is sometimes off by one px compared to what is being set in the CSS.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Adam Roben (:aroben)
I can reproduce in Safari 5.1 on Lion and Windows 7.
Brent Fulgham
This still happens in Safari 15.5+.
Radar WebKit Bug Importer
<rdar://problem/96913055>