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

Description Timothy Hatcher 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.
Comment 1 Radar WebKit Bug Importer 2014-03-03 15:22:35 PST
<rdar://problem/16216240>
Comment 2 Antoine Quint 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).
Comment 3 Timothy Hatcher 2014-03-04 10:00:38 PST
Yeah, detecting in HTML or JS strings would be fine too.
Comment 4 Joseph Pecoraro 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 ***