'Edit and Resend' button is misaligned if there is no 'Referrer Policy' header
Categories
(DevTools :: Netmonitor, defect, P3)
Tracking
(firefox69 verified)
Tracking | Status | |
---|---|---|
firefox69 | --- | verified |
People
(Reporter: tanhengyeow, Assigned: vincent)
Details
(Keywords: good-first-bug)
Attachments
(3 files)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.157 Safari/537.36
Steps to reproduce:
- Check out requests with no 'Referrer Policy' header. E.g. Requests from this site.
Actual results:
The 'Edit and Resend' button is placed in an odd position (Refer to results.jpg).
Expected results:
The 'Edit and Resend' button should be flushed to the right at the original width (Refer to intended.jpg).
Reporter | ||
Comment 1•6 years ago
|
||
Comment 2•5 years ago
|
||
Thanks for the report Heng Yeow! I can reproduce this on my machine.
Honza
Assignee | ||
Comment 3•5 years ago
|
||
Hi, can I take this one? :-) I think the problem lies here because summaryEditAndResendBtn
is linked to summaryReferrerPolicy
.
Comment 4•5 years ago
|
||
Assigned to you, thanks for helping with this bug!
Honza
Updated•5 years ago
|
Assignee | ||
Comment 5•5 years ago
|
||
If the "Referrer Policy" header is missing, summaryReferrerPolicy is null,
so summaryEditAndResendBtn contains only the "Edit and Resend" button, making it
misaligned. We fix this by making sure summaryEditAndResendBtn always contains
the last non-null header.
Comment 7•5 years ago
|
||
bugherder |
Updated•5 years ago
|
Comment 8•5 years ago
|
||
Verified with 69.0 with Windows 10, macOS 10.13, Ubuntu 16.04.
Description
•