Bug 22511

Summary: Inspect Element highlights the wrong element when a iframe is in the way
Product: WebKit Reporter: Zachary Johnson <zachary.johnson>
Component: Web Inspector (Deprecated)Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: apavlov, aroben, eostroukhov, kmccullough
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
URL: http://developer.yahoo.com/yui/examples/editor/toolbar_editor.html

Description Zachary Johnson 2008-11-26 08:13:15 PST
Visit this url to load the Yahoo rich text editor:

http://developer.yahoo.com/yui/examples/editor/toolbar_editor.html

type "this is a test" into the editor, select the word "test," and then click the chain-link icon in the editor toolbar to create a new web link.  A panel will pop into the page where you can type in the link details.

Try to inspect any of the elements in this pop-in panel.  It doesn't work.  I can inspect them just fine in Firebug.
Comment 1 Timothy Hatcher 2008-11-26 09:12:36 PST
The element is in the DOM, look right below the iframe n the DOM tree. However the iframe seems to "win" the hit test. So the element is in there and can be inspected, just Inspect Element does not jump to the "right" element.
Comment 2 Zachary Johnson 2008-11-26 09:14:58 PST
Ok, so the bug is that it jumps to the wrong element.  Can be fixed?
Comment 3 Alexander Pavlov (apavlov) 2011-08-09 09:27:59 PDT
Seems to have been fixed quite a while ago.