Summary: | Line boxes aren't cleared when the last child is removed from a RenderBlock | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | James Robinson <jamesr> | ||||||
Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | commit-queue, webkit.review.bot | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Attachments: |
|
Description
James Robinson
2010-01-05 13:07:25 PST
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. |