Flexbox Inspector grid lines and tracks error
Categories
(DevTools :: Inspector, defect, P2)
Tracking
(firefox68 fixed)
Tracking | Status | |
---|---|---|
firefox68 | --- | fixed |
People
(Reporter: 709922234, Assigned: miker)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:66.0) Gecko/20100101 Firefox/66.0
Steps to reproduce:
- open https://labs.jensimmons.com/2016/examples/image-gallery-flexbox-2.html
- open devtools & Flexbox Inspector
- Scroll the page horizontally
Actual results:
grid lines and tracks error
Comment 1•6 years ago
|
||
I have reproduced on the latest nightly. However, I had to zoom into the page.
Needinfo'ing miker to diagnose the problem.
Comment 2•6 years ago
|
||
Also confirmed after zooming (macOS with FF67).
Assignee | ||
Comment 3•6 years ago
|
||
The Flexbox Inspector uses platform APIs that don't take zoom into account whilst the Grid Inspector uses APIs that do take zoom into account.
This means that the zoom calculations when repositioning the canvas need to be different when called from the Flexbox Inspector than when called from the grid inspector.
I have added a zoomWindow
option to canvas.js::updateCanvasElement()
that allows us to optionally apply zoom to the current canvas position and the flexbox issue reported in the bug now works just fine.
All the usual other test cases work just fine with this patch applied.
Assignee | ||
Updated•6 years ago
|
Comment 5•6 years ago
|
||
bugherder |
Description
•