Bug 123718

Summary: Add an ancestor renderer iterator.
Product: WebKit Reporter: Andreas Kling <kling>
Component: Layout and RenderingAssignee: Andreas Kling <kling>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, esprehn+autocc, glenn, kling, koivisto, kondapallykalyan
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch koivisto: review+

Description Andreas Kling 2013-11-03 18:46:50 PST
We should have ancestorsOfType<RenderFoo>() iterators, too.
Comment 1 Andreas Kling 2013-11-03 19:11:11 PST
Created attachment 215884 [details]
Patch
Comment 2 WebKit Commit Bot 2013-11-03 19:14:12 PST
Attachment 215884 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCore/GNUmakefile.list.am', u'Source/WebCore/WebCore.vcxproj/WebCore.vcxproj', u'Source/WebCore/WebCore.xcodeproj/project.pbxproj', u'Source/WebCore/rendering/RenderAncestorIterator.h', u'Source/WebCore/rendering/RenderBlock.h', u'Source/WebCore/rendering/RenderBlockFlow.cpp', u'Source/WebCore/rendering/RenderBlockFlow.h', u'Source/WebCore/rendering/RenderBox.cpp', u'Source/WebCore/rendering/RenderFrameSet.cpp', u'Source/WebCore/rendering/RenderFrameSet.h', u'Source/WebCore/rendering/RenderIterator.h', u'Source/WebCore/rendering/RenderTextFragment.cpp', u'Source/WebCore/rendering/RenderTextFragment.h']" exit_code: 1
Source/WebCore/rendering/RenderIterator.h:266:  Alphabetical sorting problem.  [build/include_order] [4]
Total errors found: 1 in 14 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Andreas Kling 2013-11-04 00:44:29 PST
Committed r158561: <http://trac.webkit.org/changeset/158561>