Closed
Bug 1296912
Opened 8 years ago
Closed 8 years ago
[CSS Grid Highlighter] Canvas size is wrong when zooming in and out
Categories
(DevTools :: Inspector, defect, P3)
DevTools
Inspector
Tracking
(firefox51 fixed)
RESOLVED
FIXED
Firefox 51
Tracking | Status | |
---|---|---|
firefox51 | --- | fixed |
People
(Reporter: gl, Assigned: gl)
References
Details
Attachments
(1 file)
(deleted),
patch
|
pbro
:
review+
|
Details | Diff | Splinter Review |
The canvas size doesn't seem to behave correctly when zooming in and out. bgrins and I debugged this and determined this is caused by the fact that width and height is not set correctly when it is cleared because of the amount of floating point digits. To solve this, we should try to fix the format the ratio to 2 decimal places.
Assignee | ||
Comment 1•8 years ago
|
||
Attachment #8783278 -
Flags: review?(pbrosset)
Updated•8 years ago
|
Attachment #8783278 -
Flags: review?(pbrosset) → review+
Assignee | ||
Comment 3•8 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/cba664ef3a3ea8702508239b463fc8014bbb228b
Bug 1296912 - Fix the CSS grid highlighter size when zooming in and out by limiting the devicePixelRatio to 2 decimal places r=pbro
Comment 4•8 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox51:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 51
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•