-
hyatt authored
are two elements to this fix. The basic problem was that sundancecatalog was saying: <table style="display: inline"> In WinIE, this turns into an inline-table and not an inline. In Gecko this does not happen. Like Gecko, we treated this as an inline, so we triggered a problem in my inline splitting code. The first fix was to bulletproof my inline splitting code to ensure all new render objects are fully connected before children are added, so that you can get to renderArenas at all times. The second fix implements the WinIE quirk and turns the table into an inline-table so that you avoid a complete garbage render tree. Reviewed by trey * khtml/css/html4.css: * khtml/rendering/render_flow.cpp: (RenderFlow::layout): (RenderFlow::splitFlow): (RenderFlow::addChildToFlow): * khtml/rendering/render_flow.h: * khtml/rendering/render_list.cpp: (RenderListMarker::lineHeight): * khtml/rendering/render_list.h: * khtml/rendering/render_object.cpp: (RenderObject::createObject): * khtml/rendering/render_table.cpp: (RenderTable::lineHeight): (RenderTable::baselinePosition): (RenderTable::setStyle): * khtml/rendering/render_table.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3143 268f45cc-cd09-0410-ab3c-d52691b4dbfc
7f3f4ea2