When the last child is removed from a RenderBlock its line box list is not cleared until the next layout pass. This is slightly wasteful and makes the fullLayout flag in RenderBlock::layoutInlineChildren() harder to reason about.
Created attachment 45924 [details] Clears lineboxes when last child is deleted
style-queue ran check-webkit-style on attachment 45924 [details] without any errors.
Comment on attachment 45924 [details] Clears lineboxes when last child is deleted Seems like this should be: if (childrenInline() && !firstChild()) just to not waste time calling into lineBoxes() in the block child removal case? r=me
Created attachment 45928 [details] Adds the childrenInline() check
style-queue ran check-webkit-style on attachment 45928 [details] without any errors.
Comment on attachment 45928 [details] Adds the childrenInline() check r=me
Comment on attachment 45924 [details] Clears lineboxes when last child is deleted Obsoleting this old patch.
Comment on attachment 45928 [details] Adds the childrenInline() check Clearing flags on attachment: 45928 Committed r52838: <http://trac.webkit.org/changeset/52838>
All reviewed patches have been landed. Closing bug.