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

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

           Summary: autofocus should not work if the focused document is a
                    sub-document
           Product: HTML WG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec proposals
        AssignedTo: dave.null@w3.org
        ReportedBy: mounir.lamouri@gmail.com
         QAContact: public-html-bugzilla@w3.org
                CC: ian@hixie.ch, mike@w3.org, public-html@w3.org,
                    Olli.Pettay@gmail.com, jonas@sicking.cc


If we have:
<html>
<body>
<iframe src="somewhere"></iframe>
<input autofocus>
</body>
</html>

If the user is interacting with the iframe before the autofocus event is called
for the input, the input shouldn't be focus.
In other words, when the focused document is a sub-document, if an element from
the parent document wants to focus via autofocus it shouldn't have it.

-- 
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 Monday, 3 May 2010 23:22:45 UTC