-
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: (RenderText::computeWidths): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3186 268f45cc-cd09-0410-ab3c-d52691b4dbfc
rjw authoredwidths 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: (RenderText::computeWidths): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3186 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Loading