Closed Bug 1463103 Opened 6 years ago Closed 6 years ago

The FontMeta component does not highlight text-runs on hover when it is in the FontEditor component

Categories

(DevTools :: Inspector, defect, P3)

defect

Tracking

(firefox62 fixed)

RESOLVED FIXED
Firefox 62
Tracking Status
firefox62 --- fixed

People

(Reporter: pbro, Assigned: pbro)

References

Details

Attachments

(1 file, 1 obsolete file)

      No description provided.
I was testing bug 1463055 when I detected this bug (so the patches from that bug need to be applied locally).
The bug isn't visible to end users by default, but generates a JS error in the browser console.
STR:
- have devtools.inspector.fonthighlighter.enabled set to true
- open the inspector and the Fonts tab
- select an element in a page and check that the Fonts panel does display something
- hover over the name of the font, at the top of the panel
==> in the browser console, an error about onToggleFontHighlight being undefined is logged
Depends on: 1463055
Comment on attachment 8979209 [details]
Bug 1463103 - Highlight text-runs even in the FontEditor;

https://reviewboard.mozilla.org/r/245438/#review251408

Looks good to me.
Attachment #8979209 - Flags: review?(rcaliman) → review+
Comment on attachment 8979234 [details]
Bug 1463103 - Font Highlighter: Default isForCurrentElement to true and cleanup from component props.

Thanks Razvan for the cleanup!
As discussed on Slack, let me pull that in and squash it with my original commit.
Attachment #8979234 - Flags: review?(pbrosset)
Comment on attachment 8979234 [details]
Bug 1463103 - Font Highlighter: Default isForCurrentElement to true and cleanup from component props.

Forgot to actually obsolete this patch.
Attachment #8979234 - Attachment is obsolete: true
Pushed by pbrosset@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/455b34e35cd1
Highlight text-runs even in the FontEditor; r=rcaliman
https://hg.mozilla.org/mozilla-central/rev/455b34e35cd1
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 62
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: