[Webkit-unassigned] [Bug 46088] Inputs, autofill break with autofocus and external stylesheet

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 19 22:26:00 PST 2011


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





--- Comment #6 from Kent Tamura <tkent at chromium.org>  2011-01-19 22:26:00 PST ---
ok, probably I understand.

When an external stylesheet is linked or a sub-tree with autofocus is shown, an input element with autofocus is attached in Element::recalcStyle().  HTMLFormControlElement::attach() calls focus(), and focus() tries to call recalcStyle() to apply :focus style, but the latter recalStyle() is skipped because we are already in recalcStyle().

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