Bug 22511 - Inspect Element highlights the wrong element when a iframe is in the way
Summary: Inspect Element highlights the wrong element when a iframe is in the way
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL: http://developer.yahoo.com/yui/exampl...
Depends on:
Reported: 2008-11-26 08:13 PST by Zachary Johnson
Modified: 2011-08-09 09:27 PDT (History)
4 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Zachary Johnson 2008-11-26 08:13:15 PST
Visit this url to load the Yahoo rich text editor:


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.