Closed Bug 190281 Opened 23 years ago Closed 22 years ago

Focus doesn't skip disabled inputs properly

Categories

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

defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: neil, Assigned: aaronlev)

References

()

Details

(Keywords: regression, Whiteboard: [adt3])

Attachments

(1 file)

Steps to reproduce problem: 1. Load the URL 2. TAB to the first input and type some text 3. Press TAB twice Expected results: First TAB takes you to third input Actual results: Second TAB takes you to third input Additional information: The first TAB selects the text as if I just focused it
happens on Linux too.
OS: Windows 95 → All
Hardware: PC → All
i also see this in the preference panes, eg, where there are textfields associated with a checkbox: Advanced Advanced - Mouse Wheel Offline & Disk Space P&S - Cookies neil, do you remember when this last worked? (a general time period is okay --just want to know how far back to go in order to narrow the bug down.)
Keywords: nsbeta1
I had to tweak my patch in bug 82547 because of this bug, so I am reasonably confident that the regression occurred after the patch dated 2002-09-20.
this regressed sometime btwn the 9/18 (works fine) and 9/24 (broken) builds. note: the intermediary builds (tested 9/19, 9/23) were broken (could not tab within Prefs).
Does this mean we can get rid of lots of disabled attribute checks?
Attachment #115857 - Flags: review?(jst)
Comment on attachment 115857 [details] [diff] [review] Make mozilla ignore disabled elements I'm no expert in our CSS extensions, but this looks reasonable to me.
Attachment #115857 - Flags: review?(jst) → review+
Attachment #115857 - Flags: superreview?(bzbarsky)
This needs review by aaronl; with jst being the sr, I guess... And yes, there are places in the event state manager that could maybe skip attribute checks now; again, check with aaronl.
Attachment #115857 - Flags: superreview?(jst)
Attachment #115857 - Flags: superreview?(bzbarsky)
Attachment #115857 - Flags: review?(aaronl)
Attachment #115857 - Flags: review+
Attachment #115857 - Flags: superreview?(jst) → superreview+
adt: nsbeta1+/adt3
Keywords: nsbeta1nsbeta1+
Whiteboard: [adt3]
Comment on attachment 115857 [details] [diff] [review] Make mozilla ignore disabled elements r=aaronl
Attachment #115857 - Flags: review?(aaronl) → review+
Comment on attachment 115857 [details] [diff] [review] Make mozilla ignore disabled elements This low-risk patch ensures that disabled really means disabled.
Attachment #115857 - Flags: approval1.4b?
Comment on attachment 115857 [details] [diff] [review] Make mozilla ignore disabled elements a=asa (on behalf of drivers) for checkin to 1.4b
Attachment #115857 - Flags: approval1.4b? → approval1.4b+
Fix checked in.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Hey, _can_ we now eliminate those disabled attr checks in the ESM?
except for a very minor issue (see bug 205576), this bug is fixed. vrfy'd with 2003.05.13 comm builds.
Status: RESOLVED → VERIFIED
Component: Keyboard: Navigation → User events and focus handling
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: