[Webkit-unassigned] [Bug 68876] Input element created at later stage(may be after page load) should not be auto focused.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 30 12:35:47 PDT 2012


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


Ojan Vafai <ojan at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID
                 CC|                            |ojan at chromium.org




--- Comment #13 from Ojan Vafai <ojan at chromium.org>  2012-03-30 12:35:47 PST ---
Relevant Gecko bug: https://bugzilla.mozilla.org/show_bug.cgi?id=662496.

I don't see any reason to make autofocus conditional on page load. That's a totally arbitrary time. Might as well pick a fixed number of seconds from starting load. 

Item 8 of http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-controls-and-forms.html#attr-fe-autofocus says nothing about page load. It says that if the *user* indicated in some way that they want focus elsewhere the UA can ignore this attribute if they want to.

I'm going to close this bug. A new bug for ignoring autofocus if the user has started typing in an input might be worth considering. But I think we should only do that if this is a problem web pages are hitting in practice, which seems unlikely to me.

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