Open Bug 1371912 Opened 7 years ago Updated 2 years ago

Grid Inspector's virtual canvas should be repositioned also during the zoom

Categories

(DevTools :: Inspector, defect, P3)

defect

Tracking

(Not tracked)

People

(Reporter: zer0, Unassigned)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [designer-tools])

Attachments

(1 file)

Attached file grid.html
STR:

1. Open the file attached
2. Scroll down to the grid
3. Display the Grid Inspector (click on the grid icon on rules panel, or do it from layout panel)
4. Zoom in until the max zoom available

At a certain point, you will see that the grid highlighter is not entirely drawn as expected. If you will start to scroll, then everything will works. That's because during the zoom we're not check if we need to update the canvas' position, where during the scroll we did it; since the zoom is changing the canvas size and document size, we should check there too.
Assignee: nobody → zer0
Priority: -- → P3
Status: NEW → ASSIGNED
Assignee: zer0 → nobody
Status: ASSIGNED → NEW
Product: Firefox → DevTools
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: