[Webkit-unassigned] [Bug 82778] New: autofocus should queue a task instead of firing synchronously

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 30 14:07:24 PDT 2012


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

           Summary: autofocus should queue a task instead of firing
                    synchronously
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Forms
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ojan at chromium.org
                CC: adele at apple.com, abarth at webkit.org,
                    adamk at chromium.org, kaustubh at motorola.com,
                    rakesh.kn at motorola.com


Created an attachment (id=134879)
 --> (https://bugs.webkit.org/attachment.cgi?id=134879&action=review)
test case

As per the last step of http://www.whatwg.org/specs/web-apps/current-work/#autofocusing-a-form-control autofocus should queue a task. In WebKit it fires synchronously. Firefox correctly fires it async. We should do the same. Sync events that fire on DOM mutations are bad!

I didn't test IE/Opera, but it seems pretty clear we should change to match the spec here.

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