REGRESSION (r65062): Safari loops forever under WebCore::plainTextToMallocAllocatedBu...
authortkent@chromium.org <tkent@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 1 Feb 2011 08:05:08 +0000 (08:05 +0000)
committertkent@chromium.org <tkent@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 1 Feb 2011 08:05:08 +0000 (08:05 +0000)
commit72db5ab91c06cf03449b24f6c8976274ceae4813
treeee91c319880e633343c3fb84d57687021c35dcff
parentce2c7a2224d3c46774aa86eb0ee103ef4f3217b4
REGRESSION (r65062): Safari loops forever under WebCore::plainTextToMallocAllocatedBuffer()
https://bugs.webkit.org/show_bug.cgi?id=53272

Reviewed by Dan Bernstein.

Source/WebCore:

* editing/TextIterator.cpp:
(WebCore::TextIterator::handleTextBox): Pass the appropriate renderer to emitText().

LayoutTests:

* fast/dom/inner-text-first-letter.html:
  - Add a new test case reproducing the bug.
  - Remove unnecessary text output.
* fast/dom/inner-text-first-letter-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77224 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/dom/inner-text-first-letter-expected.txt
LayoutTests/fast/dom/inner-text-first-letter.html
Source/WebCore/ChangeLog
Source/WebCore/editing/TextIterator.cpp