Bug 13459

Summary: The "mapped style" link next to an attribute doesn't work
Product: WebKit Reporter: mitz
Component: Web Inspector (Deprecated)Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P1    
Version: 523.x (Safari 3)   
Hardware: Mac   
OS: OS X 10.4   
URL: data:text/html,%3Cbody%20bgcolor=%22blue%22%3E
Attachments:
Description Flags
Patch timothy: review+

Description mitz 2007-04-23 15:48:54 PDT
The "mapped style" link next to an attribute doesn't do anything when you click it. It's supposed to switch to the style pane and focus the mapped style declaration. This is an inspector regression.
Comment 1 mitz 2007-04-23 15:52:59 PDT
Console messages:

2007-04-24 01:32:33.858 Safari[1958] JS exception: Undefined value on file:///WebKit/WebKitBuild/Debug/WebKit.framework/Resources/webInspector/inspector.js line 1116
2007-04-24 01:32:33.859 Safari[1958] Stack trace:
selectMappedStyleRule
(anonymous function)

Forgot to mention how to reproduce: open the URL, open the inspector, navigate to the body element, there you should see a "mapped style" link for the bgcolor attribute. Click it.
Comment 2 mitz 2007-04-23 16:09:27 PDT
Created attachment 14150 [details]
Patch
Comment 3 Mark Rowe (bdash) 2007-04-24 05:46:24 PDT
Landed in r21067.