Bug 86188

Summary: Web Inspector: use div, not span as a parent element for ElementsTreeOutline in Audits panel
Product: WebKit Reporter: Andrey Kosyakov <caseq>
Component: Web Inspector (Deprecated)Assignee: Andrey Kosyakov <caseq>
Status: RESOLVED FIXED    
Severity: Normal CC: apavlov, bweinstein, joepeck, keishi, loislo, pfeldman, pmuellr, rik, timothy, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch yurys: review+

Description Andrey Kosyakov 2012-05-11 02:01:39 PDT
This is a follow-up fix for r116739. The audit panel uses span as a container for formatted results, including those produced by node formatter. ElementsTreeOutline needs offsetWidth in treeElementFromEvent(), which is only meaningful for block-level elements (returns 0 for inline).
Comment 1 Andrey Kosyakov 2012-05-11 02:04:23 PDT
Created attachment 141358 [details]
Patch
Comment 2 Yury Semikhatsky 2012-05-11 02:14:36 PDT
Comment on attachment 141358 [details]
Patch

We should consider making ElementsTreeOutline element a div.
Comment 3 Andrey Kosyakov 2012-05-11 02:35:13 PDT
Committed r116743: <http://trac.webkit.org/changeset/116743>