RESOLVED FIXED Bug 144029
Web Inspector: Vertically misaligned text in Object Trees
https://bugs.webkit.org/show_bug.cgi?id=144029
Summary Web Inspector: Vertically misaligned text in Object Trees
Joseph Pecoraro
Reported 2015-04-21 18:57:48 PDT
Created attachment 251290 [details] [IMAGE] Issue * SUMMARY Vertically misaligned text in Object Trees. Seen in Yosemite, see attached image. * STEPS TO REPRODUCE 1. js> window.navigator 2. Expand object tree => Fonts look misaligned, especially in the "Prototype" button * NOTES - This regressed with bug 143909 / r182982 which switched us to use -webkit-system-font in more places over sans-serif.
Attachments
[IMAGE] Issue (56.96 KB, image/png)
2015-04-21 18:57 PDT, Joseph Pecoraro
no flags
[PATCH] alignment fix. (1.54 KB, patch)
2015-04-25 23:49 PDT, Jonathan Wells
no flags
[IMAGE] Fix. (144.83 KB, image/png)
2015-04-25 23:51 PDT, Jonathan Wells
no flags
Radar WebKit Bug Importer
Comment 1 2015-04-21 18:58:18 PDT
Joseph Pecoraro
Comment 2 2015-04-21 19:12:55 PDT
We may just be able to remove the "top:2px" from ".object-tree-property > .titles" in ObjectTreePropertyTreeElement.css.
Timothy Hatcher
Comment 3 2015-04-21 20:13:02 PDT
I see a shift in the object name when expanding "▶︎ Object" to "▼ Object". Same thing?
Jonathan Wells
Comment 4 2015-04-25 22:53:41 PDT
(In reply to comment #2) > We may just be able to remove the "top:2px" from ".object-tree-property > > .titles" in ObjectTreePropertyTreeElement.css. top:1px seems to look the best. I'll post a screen.
Jonathan Wells
Comment 5 2015-04-25 23:42:19 PDT
(In reply to comment #4) > (In reply to comment #2) > > We may just be able to remove the "top:2px" from ".object-tree-property > > > .titles" in ObjectTreePropertyTreeElement.css. > > top:1px seems to look the best. I'll post a screen. You were right, Joe. Removing "top:2px" is correct.
Jonathan Wells
Comment 6 2015-04-25 23:49:49 PDT
Created attachment 251677 [details] [PATCH] alignment fix.
Jonathan Wells
Comment 7 2015-04-25 23:51:09 PDT
Created attachment 251678 [details] [IMAGE] Fix.
WebKit Commit Bot
Comment 8 2015-04-26 06:02:10 PDT
Comment on attachment 251677 [details] [PATCH] alignment fix. Clearing flags on attachment: 251677 Committed r183352: <http://trac.webkit.org/changeset/183352>
WebKit Commit Bot
Comment 9 2015-04-26 06:02:22 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.