[Webkit-unassigned] [Bug 45061] [chromium] fast/forms/focus2.html fails

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 6 00:52:39 PDT 2012


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


yosin at chromium.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED




--- Comment #4 from yosin at chromium.org  2012-08-06 00:52:38 PST ---
fast/forms/focus2.html sends Option+Tab key events[1]. As of Safari, Option+Tab set focus to anchor. This is a reason why behavior of Chromium DRT and Mac DRT is different.

Note: Win port skipped this test, because Alt+Tab in Windows is handled by system, switching foreground process.


[1] http://trac.webkit.org/browser/trunk/LayoutTests/fast/forms/focus2.html?rev=121008#L112

function dispatchOptionTab(element, shiftKey)
{
    var event = document.createEvent("KeyboardEvents");
    var tabKeyIdentifier = "U+0009";

    event.initKeyboardEvent(
        "keydown", // type
        true, // canBubble
        true, // cancelable
        document.defaultView, // view
        tabKeyIdentifier, // keyIdentifier
        0, // KeyLocation
        false, // ctrlKey
        true, // altKey *****
        shiftKey,
        false, // metaKey
        false); // altGraphKey
    element.dispatchEvent(event);
}

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