Summary: | when zoomed in/out getBoundingClientRect returns different height, width etc | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Surendra Singhi <ssinghi> | ||||
Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Major | CC: | bdakin, donggwan.kim, eae, mitz, sam | ||||
Priority: | P2 | ||||||
Version: | 525.x (Safari 3.2) | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Attachments: |
|
Description
Surendra Singhi
2012-04-30 08:20:13 PDT
This was fixed by subpixel layout which was turned on for chrome in June and Safari about two months ago. The test as written will still fail for some zoom levels due to floating point imprecision. (I.e. it might return 199.9999234 instead of 200 in some cases). |