• rjw's avatar
    Fix for 3134543 (and widely reported dupes). Don't use render_text · 8f03ce2d
    rjw authored
            widths cache except for whitespace == PRE.  The problem was that additional
            spaces in the RenderText's string were being inappropiately measured.
            An alternate, more complex and risky, fix would account for the whitespace
            properties during scanning of the RenderText width buffer.  Considering
            the scenario for which this optimization was added (3133261), this
            simpler fix is adequate.
            Reviewed by Darin and Don.
            * khtml/rendering/render_text.cpp:
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3186 268f45cc-cd09-0410-ab3c-d52691b4dbfc