Closed
Bug 1435640
Opened 7 years ago
Closed 7 years ago
Position of element with background-image is wrong on page load
Categories
(Firefox :: Untriaged, defect)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: tim, Unassigned, NeedInfo)
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36
Steps to reproduce:
Load page
Actual results:
Element/background-image is positioned incorrectly.
Doing nothing with the window and highlighting an element in the dev tools inspector causes the element to be repositioned correctly.
View video attachment for example.
Expected results:
element/background image positioned correctly on page load
Works fine in Safari and Chrome.
Note that the element repositions and bounding rect updates after entering Inspector
Comment 2•7 years ago
|
||
Thanks for reporting this!
Tim, can you please provide a reduce test case where the issue is reproducible? I tried to create a page with an element centered in the top part of the page, applied a background-image to it and a "display: flex: property, but I haven't managed to reproduce the issue, probably I missed something.
Also, did you reproduce this issue on older Firefox versions (eg: Firefox 57)?
Flags: needinfo?(tim)
I just knew you'd ask for a reproducible example :)
I'll provide one within 7 days.
Priority is launching the app.
Since Firefox wasn't always doing this there must be a styling state I can revert to or change the CSS to an alternative that works properly in the meantime.
Flags: needinfo?(tim)
Comment 5•7 years ago
|
||
Hey Tim, did you had time to create a reduced test case so we can reproduce the issue? We need more information in order to debug this issue.
Not yet.
I added a 'top: 0px' to the styling for the element which fixed it in FF.
I'll do my launch in the next week and will then have time to knock out an example
Comment 7•7 years ago
|
||
Hey Tim, since we don't have enough information and I am not sure how to reproduce this issue, I will close the issue as Resolved - Incomplete for now.
Please reopen it when you will have time to attach a reduced test case in order to reproduce the issue.
Thanks,
Cosmin
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•