Form layout misaligned in XFO/CSP error page
Categories
(Firefox :: Security, defect, P3)
Tracking
()
People
(Reporter: freddy, Unassigned)
Details
(Keywords: priv-triaged)
Attachments
(2 files)
We show an error page when websites try to embed another website that doesn't want to be embedded (e.g., using X-Frame-Options or CSP frame-ancestors).
Steps to repeat:
- Set up a web page that frames, e.g., google search
<iframe src="https://www.google.com" width="640px" height="480px"> </iframe>
1.1. You can use this jsfiddle, but I don't know how stable that's going to be. https://jsfiddle.net/456w0p2b/ - Observe the error page
What should happen:
- The checkbox should be somewhat properly aligned with the rest of the page.
What actually happens:
- It's left aligned without any left margin/padding.
| Reporter | ||
Comment 1•2 years ago
|
||
Comment 2•2 years ago
|
||
The large space at the top of the content also made the message seem badly laid out to me but I'm not sure how much of that is up to us.
Comment 3•2 years ago
|
||
For reference this is the "in the wild" example I found where all the content seems aligned to the bottom of the dialog which is strange.
Comment 4•2 years ago
|
||
The misalignment looks "intentional": https://searchfox.org/mozilla-central/rev/24985943a2e482c4be8e0ca7fabacb3674b91f25/toolkit/themes/shared/aboutNetError.css#99
Comment 5•2 years ago
|
||
The severity field is not set for this bug.
:serg, could you have a look please?
For more information, please visit BugBot documentation.
Updated•2 years ago
|
Updated•2 years ago
|
Description
•