[Webkit-unassigned] [Bug 64553] REGRESSION(r90089): search field focus ring painted multiple times

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 15 01:22:52 PDT 2011


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


Kent Tamura <tkent at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|REGRESSION: search field    |REGRESSION(r90089): search
                   |focus ring painted multiple |field focus ring painted
                   |times                       |multiple times




--- Comment #6 from Kent Tamura <tkent at chromium.org>  2011-07-15 01:22:52 PST ---
input[type="search"]:focus {
  outline-width: 6px;
}

fixes the problem.  Is this a correct fix?

I'm not sure what is the root cause.
I investigated how RenderTextControlSIngleLine::layout() and paint() were called.
When a user types a key, the followings are called:

r90088:
layout(), layout(), PaintPhaseBlockBackgound, PaintPhaseChildBlockBackgrounds, PaintPhaseFloat, PaintPhaseForeground, then PaintPhaseOutline.

r90089:
layout(), PaintPhaseBlockBackgound, PaintPhaseChildBlockBackgrounds, PaintPhaseFloat, PaintPhaseForeground, then PaintPhaseOutline.

It seems that there are no differences of the number of outline paintings.

-- 
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