• hyatt's avatar
    Rewrite the calculation of min and max width for <pre>s. This · 80296ca2
    hyatt authored
    	is the second stage of the whitespace rewrite (third stage
    	will be to stop morphing newlines).
    
    	This should fix a bunch of bugs, e.g., especially if you ever
    	did the following:
    	<td><pre><span>foo</span>
    	   more text after the newline</pre></td>
    
    	The new code now properly handles building up the correct min/max
    	width for the <pre>.
    
    	If anyone recalls seeing any bugs like this, let me know and
    	I can close them.
    
            * khtml/rendering/render_flow.cpp:
            (RenderFlow::calcInlineMinMaxWidth):
            * khtml/rendering/render_text.cpp:
            (RenderText::trimmedMinMaxWidth):
            (RenderText::calcMinMaxWidth):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2712 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    80296ca2
ChangeLog-2005-08-23 665 KB