Closed
Bug 1386047
Opened 7 years ago
Closed 6 years ago
CSS Grid Inspector: cross-hash that fills the Grid gap should transform
Categories
(DevTools :: Inspector, defect, P2)
DevTools
Inspector
Tracking
(firefox61 fixed)
RESOLVED
FIXED
Firefox 61
Tracking | Status | |
---|---|---|
firefox61 | --- | fixed |
People
(Reporter: jensimmons, Assigned: ewright)
References
(Blocks 1 open bug)
Details
(Keywords: DevAdvocacy, Whiteboard: [devRel:P1])
Attachments
(1 file)
When using the CSS Grid Inspector, the grid gap is filled with a lighter set of cross-hash dashed lines at a 45deg angle to the grid. This makes it clear where the gap is. Very nice: https://monosnap.com/file/84zA1Esdvdcg6GL7fea4GlJhgZ1Juc.png But if the Grid container is transformed, the cross-hash doesn't transform, and that can make things every confusing. For example: https://monosnap.com/file/gir9StoUG2DtecGju0Zy156Jirh8Rk.png The example in my screenshots is at http://labs.jensimmons.com/2017/03-004.html
Reporter | ||
Updated•7 years ago
|
Keywords: DevAdvocacy
Whiteboard: [devRel:P1]
Updated•7 years ago
|
Priority: -- → P2
Updated•7 years ago
|
status-firefox57:
--- → fix-optional
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → ewright
Comment hidden (mozreview-request) |
Comment 2•6 years ago
|
||
mozreview-review |
Comment on attachment 8961075 [details] Bug 1386047 - Grid and Flexbox inspector cross hash that fills the grid gap and flex container stays 45deg to the bounding lines on rotations. https://reviewboard.mozilla.org/r/229828/#review235622 ::: devtools/server/actors/highlighters/css-grid.js:1072 (Diff revision 1) > this.currentMatrix); > } > > + // Find current angle of grid by measuring two arbitrary points, > + // then rotate canvas, so the hash pattern stays 45deg to the gridlines. > + let p1 = apply(this.currentMatrix, [0, 0]); Can you also do this for the flexbox highlighter and adjust the commit message as appropriate.
Attachment #8961075 -
Flags: review?(gl)
Comment hidden (mozreview-request) |
Assignee | ||
Comment 4•6 years ago
|
||
>> Can you also do this for the flexbox highlighter and adjust the commit message as appropriate.
Yes, flexbox has other issues on rotate, so it still isn't great, but at least the hash lines are correct now!
Comment 5•6 years ago
|
||
mozreview-review |
Comment on attachment 8961075 [details] Bug 1386047 - Grid and Flexbox inspector cross hash that fills the grid gap and flex container stays 45deg to the bounding lines on rotations. https://reviewboard.mozilla.org/r/229828/#review235738 Wow, this is great. Thank you so much Erica for fixing this!
Attachment #8961075 -
Flags: review?(pbrosset) → review+
Assignee | ||
Updated•6 years ago
|
Keywords: checkin-needed
Pushed by ryanvm@gmail.com: https://hg.mozilla.org/integration/autoland/rev/37e07672384d Grid and Flexbox inspector cross hash that fills the grid gap and flex container stays 45deg to the bounding lines on rotations. r=pbro
Keywords: checkin-needed
Comment 7•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/37e07672384d
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox61:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 61
Updated•6 years ago
|
status-firefox57:
fix-optional → ---
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•