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.
Created attachment 188960 [details] Cleanup
Committed r143290: <http://trac.webkit.org/changeset/143290>
Thanks.