Unbalanced spacings on new error pages with list of `whatCanYouDoItems`
Categories
(Firefox :: Security, defect, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr115 | --- | unaffected |
| firefox-esr140 | --- | unaffected |
| firefox149 | --- | unaffected |
| firefox150 | --- | fixed |
| firefox151 | --- | fixed |
People
(Reporter: soeren.hentzschel, Assigned: jbrown)
References
(Blocks 1 open bug)
Details
Attachments
(5 files)
https://httpbin.org/status/404 shows a 404 error page. In Firefox Nightly 151 (it's not the case in Firefox Beta 150), there is a list with two points and between these two points, there is a really large gap. However, there could definitely be a bit more space between the heading and the list.
Also note, that the second line of both bullet points starts too far to the right, compared to their first lines.
| Reporter | ||
Comment 1•1 month ago
|
||
proposal for a more balanced look
| Assignee | ||
Comment 2•1 month ago
|
||
Updated•1 month ago
|
| Assignee | ||
Comment 3•1 month ago
|
||
Hey Sören, thanks for reporting this!
It looks like that hanging indent accounts for the bullet point's rendered width with a constant 1.2em, which will look slightly different depending on the typeface and font-size.
I added a patch that returns list-style-position to the default value and moves padding-inline-start: 1.2em to the <ul> to take the guess work out of the indent.
| Reporter | ||
Comment 4•1 month ago
|
||
Thanks for the patch. It addresses the second part of the report and looks much better! Could you also address the first point? I think, there is too much spacing between the two bullet points. Instead, there could be a bit more spacing between the caption and the list.
Comment 5•1 month ago
|
||
This does affect Firefox 150 but only on pages that have a list of items. The 404 page didn't have a list previously. You can see the issue on the timeout page (such as by trying to connect to http://10.0.0.0/).
| Assignee | ||
Comment 6•28 days ago
|
||
Thanks for the patch. It addresses the second part of the report and looks much better! Could you also address the first point? I think, there is too much spacing between the two bullet points. Instead, there could be a bit more spacing between the caption and the list.
Yeah, absolutely, I think you're right about the spacing. I updated the patch: there's more spacing between the heading and the list, and there's less space between the list items.
| Assignee | ||
Comment 7•28 days ago
|
||
This is a screenshot with the latest changes applied. What do you think? Maybe still needs more space between the list and heading? Still too much space between list items?
| Reporter | ||
Comment 8•27 days ago
|
||
This is a screenshot with the latest changes applied. What do you think? Maybe still needs more space between the list and heading? Still too much space between list items?
Thanks, it looks much better now! Maybe there could be a few more pixels between the heading and the list, or a few less pixels spacing between the list items. But I think it looks fine the way it is now.
Updated•24 days ago
|
Comment 10•20 days ago
|
||
| bugherder | ||
Comment 11•20 days ago
|
||
The patch landed in nightly and beta is affected.
:jbrown, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- See https://wiki.mozilla.org/Release_Management/Requesting_an_Uplift for documentation on how to request an uplift.
- If no, please set
status-firefox150towontfix.
For more information, please visit BugBot documentation.
| Assignee | ||
Comment 12•19 days ago
|
||
I think it would be good to request an uplift. It's low risk and noticeably improves the look of the list.
Comment 13•19 days ago
|
||
firefox-beta Uplift Approval Request
- User impact if declined/Reason for urgency: Bullet points in the "What can you do?" list on some network error pages are visually misaligned. This is visible to all users who encounter the list.
- Code covered by automated testing?: no
- Fix verified in Nightly?: yes
- Needs manual QE testing?: no
- Steps to reproduce for manual QE testing:
- Risk associated with taking this patch: low
- Explanation of risk level: CSS-only change to toolkit/themes/shared/aboutNetError.css. No logic and no string changes.
- String changes made/needed?: No
- Is Android affected?: no
| Assignee | ||
Comment 14•19 days ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D291933
Updated•19 days ago
|
Updated•19 days ago
|
Comment 15•17 days ago
|
||
Description
•