Closed Bug 1434981 Opened 7 years ago Closed 7 years ago

Show used fonts for text nodes too

Categories

(DevTools :: Inspector, enhancement, P3)

enhancement

Tracking

(firefox60 fixed)

RESOLVED FIXED
Firefox 60
Tracking Status
firefox60 --- fixed

People

(Reporter: pbro, Assigned: pbro)

Details

Attachments

(1 file)

There's no reason to only be showing fonts for element nodes. We can also do it for text nodes, and in fact it's very useful because in that case it doesn't go into sub children nodes and get their fonts too.
Comment on attachment 8947541 [details] Bug 1434981 - Display fonts for text nodes too; https://reviewboard.mozilla.org/r/217240/#review223096 ::: devtools/client/inspector/fonts/test/browser_fontinspector_text-node.js:4 (Diff revision 3) > +/* vim: set ts=2 et sw=2 tw=80: */ > +/* Any copyright is dedicated to the Public Domain. > + http://creativecommons.org/publicdomain/zero/1.0/ */ > +"use strict"; Add a new line before "use strict";
Attachment #8947541 - Flags: review?(gl) → review+
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 60
Product: Firefox → DevTools
Component: Inspector: Fonts → Inspector
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: