WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
66256
Incorrect CSS dimensions in px on page zoom
https://bugs.webkit.org/show_bug.cgi?id=66256
Summary
Incorrect CSS dimensions in px on page zoom
CJ Bates
Reported
2011-08-15 14:53:33 PDT
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)
Comment 1
2011-08-16 11:51:02 PDT
I can reproduce in Safari 5.1 on Lion and Windows 7.
Brent Fulgham
Comment 2
2022-07-12 15:10:52 PDT
This still happens in Safari 15.5+.
Radar WebKit Bug Importer
Comment 3
2022-07-12 15:11:03 PDT
<
rdar://problem/96913055
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug