[Protections Panel] The focus indicator overlaps the toggle button
Categories
(Firefox :: Site Identity, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr60 | --- | unaffected |
firefox-esr68 | --- | unaffected |
firefox69 | --- | unaffected |
firefox70 | --- | verified |
firefox71 | --- | verified |
People
(Reporter: emilghitta, Assigned: timhuang)
References
Details
(Keywords: regression, Whiteboard: [privacy-panel][skyline])
Attachments
(2 files)
14.48 KB,
image/png
|
Details | |
47 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-beta+
|
Details | Review |
Affected versions
- 71.0a1 (BuildId:20190919094654)
- 70.0b7 (BuildId:20190916074538)
Affected platforms
- Windows 10 64bit
Unaffected platforms
- macOS 10.13.6
- Ubuntu 18.04 64bit.
Steps to reproduce
- Launch Firefox.
- Open any web page.
- Click the shield icon to open the protections panel.
- Press the “Tab” several times to focus on the TP switch.
Expected result
The focus indicator does not overlap the toggle button.
Actual result
The focus indicator overlaps the toggle button.
Regression Range
I don’t think that this is a regression
Notes
For further information regarding this issue please observe the attached screenshot.
I am reproducing this issue with 70.0b8 (provided in Bug 1578052 , comment 9) as well.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
On Windows, there is a global CSS rule to set 'outline-offset' to -2px
on toolbarbuttons. We need to unset it on the TP switch button in order
to make the focus indicator to work correctly.
Pushed by tihuang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0add1eb7bd28 Unset the CSS 'outline-offset' rule for the TP switch when it gets focused on Windows. r=nhnt11
Reporter | ||
Updated•5 years ago
|
Comment 3•5 years ago
|
||
bugherder |
Assignee | ||
Comment 4•5 years ago
|
||
Comment on attachment 9094118 [details]
Bug 1582471 - Unset the CSS 'outline-offset' rule for the TP switch when it gets focused on Windows. r?nhnt11!
Beta/Release Uplift Approval Request
- User impact if declined: The focus indicator would overlap the TP switch on Window.
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: Yes
- If yes, steps to reproduce: 1. Launch Firefox.
- Open any web page.
- Click the shield icon to open the protections panel.
- Press the “Tab” several times to focus on the TP switch.
- Check if the focus indicator overlaps the TP switch.
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): This patch only adds one CSS rule. So, it's low risk.
- String changes made/needed: None
Assignee | ||
Updated•5 years ago
|
Comment 5•5 years ago
|
||
Comment on attachment 9094118 [details]
Bug 1582471 - Unset the CSS 'outline-offset' rule for the TP switch when it gets focused on Windows. r?nhnt11!
Low risk one liner css patch, uplift approved for 70 beta 9, thanks.
Comment 6•5 years ago
|
||
bugherder uplift |
Updated•5 years ago
|
Updated•5 years ago
|
Comment 7•5 years ago
|
||
I was able to reproduce the issue using an affected Nightly build (2019-09-09), and by following the steps from comment 0.
The issue is verified fixed on latest Nightly 71.0a1 and Beta 70.0b9, under Windows 10 x64.
Updated•5 years ago
|
Comment 8•5 years ago
|
||
Bugbug thinks this bug is a regression, but please revert this change in case of error.
Description
•