Closed Bug 2011646 Opened 3 months ago Closed 3 months ago

Add tooltip to show value of attribute in attr() function

Categories

(DevTools :: Inspector: Rules, enhancement, P3)

enhancement

Tracking

(relnote-firefox -, firefox149 fixed)

RESOLVED FIXED
149 Branch
Tracking Status
relnote-firefox --- -
firefox149 --- fixed

People

(Reporter: nchevobbe, Assigned: nchevobbe)

References

(Blocks 1 open bug)

Details

(Keywords: dev-doc-needed, parity-chrome)

Attachments

(1 file)

When hovering the attribute name in attr(), it would be nice to display a tooltip with the value of the attribute.
FWIW, that's what Chrome is doing

Add specific class from the OutputParser for the attribute name and fallback
spans so they're easier to target in tests.
Refactor and augment browser_rules_attr.js so it covers showing the preview
tooltip.

Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 149 Branch
Blocks: 2015818
No longer blocks: 2015818
QA Whiteboard: [qa-triage-done-c150/b149]

A small feature, but I'd say it is worth to be mentioned in the dev release notes for Firefox 149, maybe even in the general release notes. What do you think, Nicolas?

Sebastian

Flags: needinfo?(nchevobbe)
Keywords: dev-doc-needed

Requested to add this to the release notes in bug 1854104.

Sebastian

relnote-firefox: --- → ?
Flags: needinfo?(nchevobbe)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: