Open Bug 1866427 Opened 2 years ago Updated 2 years ago

Form layout misaligned in XFO/CSP error page

Categories

(Firefox :: Security, defect, P3)

defect

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:

  1. 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/
  2. 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.
Attached image image.png —

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.

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.

The severity field is not set for this bug.
:serg, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(sgalich)
Severity: -- → S4
Flags: needinfo?(sgalich)
Keywords: priv-triaged
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: