Closed Bug 752109 Opened 14 years ago Closed 14 years ago

Tab key does not work

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 751881

People

(Reporter: bugmozz, Unassigned)

References

Details

(Keywords: regression)

Mozilla/5.0 (Windows NT 6.1; rv:15.0) Gecko/15.0 Firefox/15.0a1 OK 2012-05-04-03-05-09-mozilla-central cset : 2db9df42823d NG 2012-05-04-12-29-39-mozilla-central cset : 9ebf3dc839c5
Duplicate of bug 751881?
Depends on: 751881
It worked before the CPG re-spin. Now it doesn't work, so... Not sure if it is a dupe or not.
> data:text/html,<p id="p"></p><script>function keyname(event) { for (var s in event) { if (s.match(/^DOM_VK_/) && event[s] == event.keyCode) { return s; } } return "0x" + event.keyCode.toString(16); } function log(event) { var p = document.getElementById("p"); p.innerHTML = event.type + " keyCode=" + keyname(event) + ", charCode=" + event.charCode + " (0x" + event.charCode.toString(16) + "), shift=" + event.shiftKey + ",ctrl=" + event.ctrlKey + ", alt=" + event.altKey + ", meta=" + event.metaKey + "<BR>" + p.innerHTML; event.preventDefault(); } window.addEventListener("keydown", log, false); window.addEventListener("keypress", log, false); window.addEventListener("keyup", log, false);</script> If the tab keypress event's keycode is 0 in this testcase, this must be dup of bug 751881.
This is what I saw: keyup keyCode=DOM_VK_TAB, charCode=0 (0x0), shift=false,ctrl=false, alt=false, meta=false keypress keyCode=0x0, charCode=0 (0x0), shift=false,ctrl=false, alt=false, meta=false keydown keyCode=DOM_VK_TAB, charCode=0 (0x0), shift=false,ctrl=false, alt=false, meta=false
Thank you. This should be exactly a dup of bug 751881.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
Component: Keyboard: Navigation → User events and focus handling
You need to log in before you can comment on or make changes to this bug.