[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
Mon Oct 3 03:56:52 PDT 2011


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





--- Comment #10 from Kent Tamura <tkent at chromium.org>  2011-10-03 03:56:52 PST ---
(In reply to comment #9)
> (In reply to comment #7)
> > (From update of attachment 109016 [details] [details])
> > View in context: https://bugs.webkit.org/attachment.cgi?id=109016&action=review
> > 
> > r- because the patch wil break existing tests.
> > We have to change the patch behavior or change the existing tests in this case.
> > 
> 
> Changed the existing tests.
> 
> > > Source/WebCore/dom/Document.cpp:2165
> > > +    // Ignore any future Autofocus request from now
> > > +    setIgnoreAutofocus();
> > > +
> > 
> > What are the behaviors of IE10, Firefox, and Opera on this?
> 
> Firefox and Opera does not auto focus elements which are added at later stages,
> could not test on IE10(don't have an windows 7 machine).

My investigation:
Firefox 6 and 7 Mac: Failed with autofocus-opera-004, 005, and 006.
Opera 11.51 Mac: Failed with autofocus-opera-008
IE10 on Windows 8: Failed with autofocus-opera-006 and 008.

IMO, we should do nothing at this moment. Autofocusing on an element with autofocus attribute is what a web page author wants to do even after the page loading has been completed, and the standard allows it.

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