[Webkit-unassigned] [Bug 38468] REGRESSION: Text clipped in absolutely positioned search inputs

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 25 07:47:27 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=38468





--- Comment #20 from Noam Rosenthal <noam.rosenthal at nokia.com>  2010-11-25 07:47:27 PST ---
(From update of attachment 54994)
>--- a/WebCore/rendering/RenderTextControlSingleLine.cpp
>+++ b/WebCore/rendering/RenderTextControlSingleLine.cpp
>@@ -400,7 +400,9 @@ IntRect RenderTextControlSingleLine::controlClipRect(int tx, int ty) const
> {
>     // This should only get called for search inputs.
>     ASSERT(hasControlClip());
>-    IntRect clipRect = IntRect(x(), y(), width(), height());        
>+    ASSERT(m_innerBlock);
>+
>+    IntRect clipRect = IntRect(m_innerBlock->renderBox()->frameRect());
>     clipRect.move(tx, ty);
>     return clipRect;
> }

Can this be explained? We're seeing performance issues in pages with search input because of clipping to the whole frameRect..

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list