Bug 33625

Summary: CounterNode::nextInPreOrderAfterChildren(stayWithin) does not stay within.
Product: WebKit Reporter: Carol Szabo <carol>
Component: Layout and RenderingAssignee: Carol Szabo <carol>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, darin
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 11031    
Attachments:
Description Flags
Proposed patch none

Description Carol Szabo 2010-01-13 14:58:33 PST
The same problem that bug 33600 reported about RenderObject is being inherited by virtue of copy-paste programing here.
If stayWithin has a nextSibling() the method returns it instead of null when called on stayWithin's last descendant, hence causing an iteration of the counterTree designed to stay within stayWithin's descendants, iterates to the end of the counterTree.

Patch to come soon.
Comment 1 Carol Szabo 2010-01-13 16:00:49 PST
Created attachment 46517 [details]
Proposed patch
Comment 2 WebKit Commit Bot 2010-01-13 19:30:46 PST
Comment on attachment 46517 [details]
Proposed patch

Clearing flags on attachment: 46517

Committed r53230: <http://trac.webkit.org/changeset/53230>
Comment 3 WebKit Commit Bot 2010-01-13 19:30:52 PST
All reviewed patches have been landed.  Closing bug.