[Bug 9651] autofocus should not work if the focused document is a sub-document

http://www.w3.org/Bugs/Public/show_bug.cgi?id=9651


Lachlan Hunt <lachlan.hunt@lachy.id.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME




--- Comment #1 from Lachlan Hunt <lachlan.hunt@lachy.id.au>  2010-05-06 13:55:56 ---
The spec already defines:

"User agents may ignore this attribute if the user has indicated (for example,
by starting to type in a form control) that he does not wish focus to be
changed."

What you're asking for is already permitted.  It does not matter whether the
user is interacting with another control in the same document, a document in
another frame or a control on the browser chrome.  The UA may ignore the
autofocus in any or all of those cases.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Thursday, 6 May 2010 13:56:02 UTC