Bug 91826

Summary: ComposedShadowTreeWalker should skip an empty insertion points.
Product: WebKit Reporter: Hayato Ito <hayato>
Component: DOMAssignee: Hayato Ito <hayato>
Status: RESOLVED FIXED    
Severity: Normal CC: dglazkov, dominicc, morrita, shinyak, tasak, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 91825    
Attachments:
Description Flags
Skip empty insertion points and continue walking
none
Patch for landing none

Description Hayato Ito 2012-07-20 00:17:36 PDT
When a last child node is an insertion point which does not have distributed nodes nor fallback elements, ComposedShadowTreeWalker::lastChild should ignore such a insertion point.
Currently, walker.get() wrongly returns null after walker.lastChild() is called in such case.
Comment 1 Hayato Ito 2012-07-22 23:48:34 PDT
Created attachment 153739 [details]
Skip empty insertion points and continue walking
Comment 2 Hayato Ito 2012-07-23 00:20:38 PDT
Created attachment 153742 [details]
Patch for landing
Comment 3 WebKit Review Bot 2012-07-23 01:08:56 PDT
Comment on attachment 153742 [details]
Patch for landing

Clearing flags on attachment: 153742

Committed r123312: <http://trac.webkit.org/changeset/123312>
Comment 4 WebKit Review Bot 2012-07-23 01:08:59 PDT
All reviewed patches have been landed.  Closing bug.