Extension browser action popup size does not account for zoom level
Categories
(WebExtensions :: General, defect, P3)
Tracking
(firefox68 affected, firefox69 affected, firefox70 affected, firefox92 unaffected, firefox93 affected, firefox94 affected)
People
(Reporter: dan, Unassigned)
References
Details
(Keywords: polish)
Attachments
(2 files)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36
Steps to reproduce:
- Install any extension that includes a popup page triggered by a browser action. I verified the same issue in Axe Developer Tools (https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/), uBlock Origin (https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/), and NoScript Security Suite (https://addons.mozilla.org/en-US/firefox/addon/noscript/)
- Click on the browser action to display the popup
- Use Ctrl+mousewheel to zoom the popup content in and out
Actual results:
The contents of the popup do zoom in and out as expected, but the window containing the contents does not change size; when zooming out to <100%, this results in blank spaces at the bottom and right of the content, and when zooming in to >100%, this results in the content being cut off (see attached popup_zoom_in.png).
In the >100% case, I can see vertical and horizontal scroll bars flash in for a brief moment, then disappear (leaving the cut off content inaccessible).
This issue makes it difficult for an extension using a popup to meet accessibility standard WCAG 2.0 1.4.4.
Expected results:
The popup window should resize to fit the content as-zoomed, like it resizes to fit the 100% zoom content during content updates.
If it is zoomed to the point where it exceeds the maximum allowable popup window size, this should include making scroll bars available to navigate to the cut off content.
| Reporter | ||
Comment 1•6 years ago
|
||
| Reporter | ||
Comment 2•6 years ago
|
||
Clarification: the user agent in the OP is not what I repro'd the issue with; I observed the issue on 68.0.1, user agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0"
Comment 3•6 years ago
|
||
Tested the issue on several machines & FF versions:
[Platform affected]: Windows 10, Mac OS X, Ubuntu 18.04
[Environment- FF versions]: nightly 70.0a1, beta 69.0b9, release 68.0.1
- on all cases(platforms & environments) + all three web extensions installed the issue can be reproduced.
Additionally, on other browser like Chrome the issue cannot be reproduced because there the zoom isn't possible - is blocked.
Further, I will set a component, if isn't the right one please fell free to change it.
Thanks.
Updated•4 years ago
|
Updated•3 years ago
|
Description
•