Closed Bug 711943 Opened 13 years ago Closed 11 years ago

Inspector should have a gradient tooltip for css values as appropriate

Categories

(DevTools :: Inspector, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 706102

People

(Reporter: miker, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [computedview][ruleview])

Attachments

(1 file)

Web developer style tools should have a gradient tooltip for css values as appropriate.
Please see meta bug 711947 for more info
Filter on PEGASUS
Whiteboard: [computedview][ruleview]
Attached image Gradient Tooltip
It should look something like this (screenshot courtesy of Lea Verou).

The code she uses for her previews is at https://github.com/LeaVerou/dabblet/blob/master/code/previewers.js

She says that if we use her code (with changes) we should credit her in the file header.
Gradient catching regex:
/\b(repeating-)?(linear|radial)-gradient\(((rgb|hsl)a?\(.+?\)|[^\)])+\)/gi
Summary: Web developer style tools should have a gradient tooltip for css values as appropriate → Inspector should have a gradient tooltip for css values as appropriate
Component: Developer Tools: Style Editor → Developer Tools: Inspector
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: