Bug 129629

Summary: Web Inspector: Color and Gradient editing should not show up in non-style resources
Product: WebKit Reporter: Timothy Hatcher <timothy>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: graouts, joepeck, timothy, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Screenshot none

Timothy Hatcher
Reported 2014-03-03 15:22:23 PST
Created attachment 225697 [details] Screenshot The color and gradient editor shows up in scripts and other resources. It should only show up in style resources.
Attachments
Screenshot (198.26 KB, image/png)
2014-03-03 15:22 PST, Timothy Hatcher
no flags
Radar WebKit Bug Importer
Comment 1 2014-03-03 15:22:35 PST
Antoine Quint
Comment 2 2014-03-04 00:28:57 PST
Turning color and gradient editing for anything but CSS would be an easy fix, but I think it'd be nice if we could edit a color or gradient string found in JS or HTML too. We might need some smarter detection in those cases though (not that we couldn't improve it in CSS too).
Timothy Hatcher
Comment 3 2014-03-04 10:00:38 PST
Yeah, detecting in HTML or JS strings would be fine too.
Joseph Pecoraro
Comment 4 2016-06-04 23:51:40 PDT
I think we did this for performance with bug 156278. *** This bug has been marked as a duplicate of bug 156278 ***
Note You need to log in before you can comment on or make changes to this bug.