"Permissions Set" blue-dot is stretched vertically, in site-info doorhanger
Categories
(Firefox :: Site Identity, defect, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox70 | --- | fixed |
People
(Reporter: dholbert, Assigned: timhuang)
References
Details
(Whiteboard: [privacy-panel][skyline])
Attachments
(3 files)
STR:
-
Visit some site where you have permissions set.
(For example: https://www.google.com/maps/ , click the "dot" in lower right corner, and click the checkbox for "Remember this decision" and then the button to Allow Location Access") -
Click the Site ID button (the lock icon at left edge of URL bar)
-
Look at the "Permissions Set" area
ACTUAL RESULTS:
The blue circle icon (to the right of "Permissions Set") is stretched vertically, so it's an awkward oval shape.
EXPECTED RESULTS:
It should be a circle.
The issue might be OS-specific (by virtue of depending on the size of the "Permissions Set" text). I'm on Linux, if it matters.
It looks like the icon is a XUL <image> that has this styling:
list-style-image: url(chrome://browser/skin/badge-blue.svg);
width: 16px;
height: 16px;
...but it's inside of an hbox alongside a label, so it actually gets stretched to the height of the label.
There are several possible fixes:
- Give its hbox parent
-moz-box-align: startso that it doesn't stretch its kids in the cross axis. - Wrap the image in a wrapper box which can be the thing that gets stretched (instead of the image)
- ...or maybe there's something else that is more elegant & would also work.
| Reporter | ||
Updated•6 years ago
|
| Reporter | ||
Updated•6 years ago
|
| Reporter | ||
Comment 1•6 years ago
|
||
| Assignee | ||
Comment 2•6 years ago
|
||
Thanks Daniel, I will work on this.
| Assignee | ||
Updated•6 years ago
|
| Assignee | ||
Comment 3•6 years ago
|
||
This patch fixes the style issue by make the container of the permission
granted indicator to centered align its children.
Updated•6 years ago
|
Comment 5•6 years ago
|
||
| bugherder | ||
| Reporter | ||
Comment 6•6 years ago
|
||
Thanks for the quick action!
| Assignee | ||
Comment 7•6 years ago
|
||
Hi Daniel,
Would you be able to verify the bug? Thanks.
| Reporter | ||
Comment 8•6 years ago
|
||
Sure! I think tomorrow's nightly is the first one that'll have the fix, so I'll take a look then.
(The latest nightly still shows the issue, but I think that makes sense, given how recently the fix hit mozilla-central.)
| Reporter | ||
Comment 9•6 years ago
|
||
Verified - this looks good in Nightly 70.0a1 (2019-08-21) (64-bit)
| Assignee | ||
Comment 10•6 years ago
|
||
Thanks!!
Description
•