RESOLVED FIXED 110165
Merge handleSpecialChild into layoutBlockChildren
https://bugs.webkit.org/show_bug.cgi?id=110165
Summary Merge handleSpecialChild into layoutBlockChildren
Ryosuke Niwa
Reported 2013-02-18 16:24:32 PST
The name handleSpecialChild is extremely vague and doesn't communicate at all what it's handling and what "special" children are. Since this function is only called by layoutBlockChildren, we can merge into layoutBlockChildren altogether. In fact, handlePositionedChild and handleFloatingChild can also be merged into layoutBlockChildren. That allows us to remove outdated comment in layoutBlockChildren that says: // Handle the four types of special elements first. These include positioned content, floating content, compacts and // run-ins. When we encounter these four types of objects, we don't actually lay them out as normal flow blocks. which at this point is only half true.
Attachments
Cleanup (3.93 KB, patch)
2013-02-18 16:28 PST, Ryosuke Niwa
darin: review+
Ryosuke Niwa
Comment 1 2013-02-18 16:28:47 PST
Ryosuke Niwa
Comment 2 2013-02-18 19:44:10 PST
Eric Seidel (no email)
Comment 3 2013-02-20 10:28:31 PST
Thanks.
Note You need to log in before you can comment on or make changes to this bug.