Closed Bug 1417025 Opened 8 years ago Closed 8 years ago

[css-flexbox] Absolute positioning inside flexbox positions incorrectly

Categories

(Core :: Layout, defect, P3)

56 Branch
defect

Tracking

()

RESOLVED DUPLICATE of bug 1386654

People

(Reporter: nicohvi, Unassigned)

Details

(Keywords: testcase)

Attachments

(4 files)

Attached image Incorrect position
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36 OPR/48.0.2685.52 Steps to reproduce: https://codepen.io/anon/pen/bYRZVa Go to that code pen, change the last CSS rule (.container .item) to "position: static" and then back to "position: absolute". Actual results: The contained item (absolutely positioned in the flexbox) is incorrectly positioned. If you slightly resize the window then the item is positioned correctly. Expected results: The item should be positioned in the middle.
Component: General → Layout
Attached file Testcase #1
Attached file Testcase #2
It appears to be a flexbox specific bug - I can't reproduce it using display:grid.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(dholbert)
Keywords: testcase
OS: Unspecified → All
Hardware: Unspecified → All
Summary: Absolute positioning inside flexbox positions incorrectly → [css-flexbox] Absolute positioning inside flexbox positions incorrectly
Priority: -- → P3
This was fixed in Firefox 59, via bug 1386654. (Verified with original codepen as well as attached testcases.) --> Marking as a duplicate.
Status: NEW → RESOLVED
Closed: 8 years ago
Flags: needinfo?(dholbert)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: