<rdar://problem/9513180> REGRESSION (r84166): recalcStyle for display:inline to displ... qtwebkit-2.2-week23
authorDan Bernstein <mitz@webkit.org>
Sun, 12 Jun 2011 18:27:00 +0000 (18:27 +0000)
committerAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Mon, 13 Jun 2011 17:21:11 +0000 (14:21 -0300)
commit1e0a6b8d36485d0edf35c314f6bb794e3fa0d6f1
treec59cbcdd2130ba10d38a2dccc6c72f269fab4a65
parent196b505b1e941c19fea0cb78f3b3a8cfd4be7670
<rdar://problem/9513180> REGRESSION (r84166): recalcStyle for display:inline to display:none transition has complexity N^2 where N is the number of child Text nodes
https://bugs.webkit.org/show_bug.cgi?id=61557

Reviewed by Darin Adler.

Replaced the fix for bug 58500 with a refined version.

* rendering/RenderText.cpp:
(WebCore::RenderText::clippedOverflowRectForRepaint): Use the containing block unless it is
across a layer boundary.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88617 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderText.cpp