Bug 34680

Summary: Web Inspector: Fragment-held Elements Not Shown in Inspector
Product: WebKit Reporter: John Resig <jresig>
Component: Web Inspector (Deprecated)Assignee: Pavel Feldman <pfeldman>
Severity: Normal CC: bweinstein, commit-queue, joepeck, keishi, pfeldman, pmuellr, rik, timothy
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
URL: http://dev.jquery.com/ticket/6045
Description Flags
[PATCH] The fix. none

Description John Resig 2010-02-06 10:26:29 PST
Elements inside a fragment, inside an array, are not displayed.


var frag = document.createDocumentFragment();
frag.appendChild( document.createElement("p") );

In the web inspector you see:

> frag.firstChild

(nothing is shown)

var a = [ frag.firstChild ];

> a

Even though the array has a length and holds an element.

See also here:
Comment 1 Pavel Feldman 2010-02-06 11:30:44 PST
Created attachment 48290 [details]
[PATCH] The fix.
Comment 2 WebKit Commit Bot 2010-02-07 04:52:27 PST
Comment on attachment 48290 [details]
[PATCH] The fix.

Clearing flags on attachment: 48290

Committed r54470: <http://trac.webkit.org/changeset/54470>
Comment 3 WebKit Commit Bot 2010-02-07 04:52:35 PST
All reviewed patches have been landed.  Closing bug.