<rdar://problem/9513180> REGRESSION (r84166): recalcStyle for display:inline to displ...
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 12 Jun 2011 18:27:00 +0000 (18:27 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 12 Jun 2011 18:27:00 +0000 (18:27 +0000)
commit8fdd4b7a1bcd8dfacf3abf1fd3bf486b0d73f5e6
treef8e4f1fb50ec70129022bfc9b920270be7cac669
parentda537a4abdc24844c0f01c7af34d825737aae808
<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