Closed
Bug 241621
Opened 21 years ago
Closed 21 years ago
space doesn't scroll when XHTML link has focus
Categories
(Core :: DOM: UI Events & Focus Handling, defect)
Core
DOM: UI Events & Focus Handling
Tracking
()
RESOLVED
FIXED
People
(Reporter: jruderman, Assigned: aaronlev)
References
()
Details
(Keywords: testcase)
Attachments
(1 file)
|
836 bytes,
application/xhtml+xml
|
Details |
| Reporter | ||
Comment 1•21 years ago
|
||
Steps to reproduce:
1. Focus the link in the testcase.
2. Press space.
Expected: scroll down a page
Result: nothing happens
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a) Gecko/20040423
Firefox/0.8.0+
Comment 2•21 years ago
|
||
Also happens with a Seamonkey nightly build from yesterday on Linux.
OS: Windows XP → All
Comment 3•21 years ago
|
||
Very odd.... XHTML and HTML <a> elements are the same class and share the same
event-handling code, none of which ever looks at space bar presses....
Updated•21 years ago
|
Hardware: PC → All
Comment 4•21 years ago
|
||
See the patch in bug 214843 -- it changed code like:
focusedElement->GetTagName(tagName);
if (tagName == NS_LITERAL_STRING("A")) {
to something that may work in XHTML... so this may be fixed.
Depends on: 214843
| Reporter | ||
Comment 5•21 years ago
|
||
Yes, that fixed it :)
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 6•21 years ago
|
||
Let's not forget that future versions of XHTML may allow an href on any element.
Then we're going to have to go back and look for any code like this.
Updated•6 years ago
|
Component: Keyboard: Navigation → User events and focus handling
You need to log in
before you can comment on or make changes to this bug.
Description
•