[Webkit-unassigned] [Bug 68513] <input> with autofocus doesn't lose focus when it has a certain onblur listener

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 26 23:07:39 PDT 2011


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





--- Comment #30 from Kent Tamura <tkent at chromium.org>  2011-09-26 23:07:39 PST ---
(In reply to comment #27)
> Say on button press, if an element with autofocus attribute is created then, should the new element be focused after creation?

I see. It might be reasonable to cancel autofocus by button press.
It would be a part of the step 8 of the specification.

http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-controls-and-forms.html#attr-fe-autofocus
> 8. If the user has indicated (for example, by starting to type in a form control) that he does not wish focus to be changed, then optionally abort these steps.

We had better discuss it in a separated bug.

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