Closed Bug 1320127 Opened 8 years ago Closed 1 year ago

[DateTimePicker] Focus is not applied when clicking on input box

Categories

(Core :: Layout: Form Controls, defect, P3)

53 Branch
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox53 --- affected

People

(Reporter: hyacoub, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

Attached file file13.html
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:53.0) Gecko/20100101 Firefox/53.0 Build ID: 20161124030208 [Affected versions]: Nightly 53.0a1 [Affected platforms]: All platforms: Windows 7 x 64, Windows 10 x 64 [Steps to reproduce]: 1. Launch Nightly 53.0a1 with a new profile 2. Set "dom.forms.datetime" pref to True in about:config 3. Open attached html file 4. Click on input box [Expected result]: Input text box should be highlighted. [Actual result]: Input text box is not highlighted. [Note] Works on: - Ubuntu 15.10 - Mac OS X 10.11 When the high contrast theme is activate, the focus is not working on the following platforms: - Mac OS X 10.11 - Windows 7 x 64 - Windows 10 x 64
Blocks: 1283381
Component: XUL Widgets → Layout: Form Controls
Product: Toolkit → Core
It seems the bug is talking about the input field not having the border highlight, after clicked to focus. We can see the behavior on Windows OS, but not on MacOS. However, the number input types shows the same behavior with below testing script. data:text/html,<input type="number"> BTW, how do we reproduce on MacOS? I didn't find a path to pref high contrast theme.
Flags: needinfo?(hani.yacoub)
When I worked on this issue I changed the display contrast on MacOS from System preference -> Accessibility -> Display and then change the display contrast.
Flags: needinfo?(hani.yacoub)
If the highlight effect and behavior is the same as "type = number", it's actually expected. Otherwise it means in general there's is issue on these input box. For now I'll say P2 as it's consistent.
Priority: -- → P2
Moving to p3 because no activity for at least 1 year(s). See https://github.com/mozilla/bug-handling/blob/master/policy/triage-bugzilla.md#how-do-you-triage for more information
Priority: P2 → P3
Severity: normal → S3

The focus outline is now working in Firefox as expected, I assume since the bug 1812041 and bug 1815526 were fixed. Attached is an example of the focus behavior from the today's Nightly 115.0a1 from MacOS 13.3.1 with Increase Contrast (HCM) on and from WinOS 11 with Night Sky HCM on as well.

:Emilio, shall it be closed as WFM?

Flags: needinfo?(emilio)
Depends on: 1812041, 1815526
Status: NEW → RESOLVED
Closed: 1 year ago
Flags: needinfo?(emilio)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: