Closed
Bug 1166506
Opened 10 years ago
Closed 9 years ago
Use the default devtools monospace font for text nodes in the markup view
Categories
(DevTools :: Inspector, defect)
Tracking
(firefox41 fixed)
RESOLVED
FIXED
Firefox 41
Tracking | Status | |
---|---|---|
firefox41 | --- | fixed |
People
(Reporter: bgrins, Assigned: bgrins)
References
Details
Attachments
(3 files)
Now that we are auto expanding the contents of nodes (bug 892935) and collapsing whitespace in the view (bug 1046803), we should update the styles to make it look nicer. We should use the default devtools-monospace font (which changes per OS)
Comment 1•10 years ago
|
||
Probably worth adding yourself as mentor and marking as a [good ... bug], unless you intended to tackle it yourself.
Assignee | ||
Comment 2•10 years ago
|
||
I thought the tricky part was going to be making sure the sizing is right across all OSes. I needed to do some exploring to figure out exactly what guidance I would give and in the process have a pretty much working patch, so I'll just take it
Assignee: nobody → bgrinstead
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•10 years ago
|
||
screenshot of windows with and without the font applied
Assignee | ||
Comment 4•10 years ago
|
||
screenshot of osx with and without the font applied
Assignee | ||
Comment 5•10 years ago
|
||
linux just uses the default monospace font for devtools-monospace, so it doesn't end up looking any different
Assignee | ||
Comment 6•10 years ago
|
||
What do you think? Just resets the font to inherit. While I was in there I noticed we weren't doing that comment thing that's done throughout the markup-view templates for inline-block children, so added that too
Attachment #8608265 -
Flags: review?(pbrosset)
Comment 7•9 years ago
|
||
Comment on attachment 8608265 [details] [diff] [review]
markup-font.patch
Review of attachment 8608265 [details] [diff] [review]:
-----------------------------------------------------------------
I'm not seeing a huge difference, but I trust your eye for details. I've applied the patch and it looked good locally anyway, and the code changes are fine.
Attachment #8608265 -
Flags: review?(pbrosset) → review+
Assignee | ||
Comment 8•9 years ago
|
||
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 9•9 years ago
|
||
Keywords: checkin-needed
Whiteboard: [fixed-in-fx-team]
Comment 10•9 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox41:
--- → fixed
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 41
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•