Open
Bug 1476812
Opened 6 years ago
Updated 8 days ago
left:auto on a position:absolute display:inline-block element shouldn't consider floats after the inline-block that would have moved it
Categories
(Core :: Layout: Positioned, defect, P3)
Core
Layout: Positioned
Tracking
()
NEW
Tracking | Status | |
---|---|---|
firefox63 | --- | affected |
People
(Reporter: twisniewski, Unassigned)
References
Details
Attachments
(2 files)
In the attached test-case, Firefox pushes the red element off-screen by the width of the gray element. Other browsers place the red element's right edge along the right edge of the viewport.
Flags: webcompat?
Comment 1•6 years ago
|
||
Looks like there's an incremental reflow bug somewhere there. If I toggle `position` and `display` on the `.menubar` element it doesn't take effect always immediately, which looks wrong. I don't know what we're thinking to make the width: 100% overflow the viewport somehow...
.menubar is using its hypothetical position, since it has top:auto and left:auto. It seems reasonable that the left:auto position puts it to the right of the float, since that's where it would be if it weren't positioned.
Component: Layout → Layout: R & A Pos
Chrome will consider the float for the hypothetical position if it comes before the inline-block, but not if it comes after.
Summary: Element is not painted flush against right edge of screen as it does in other browsers. → left:auto on a position:absolute display:inline-block element shouldn't consider floats after the inline-block that would have moved it
Attachment #8993444 -
Attachment description: 1476812.html → set of four simpler tests
Updated•6 years ago
|
Priority: -- → P3
Comment 5•5 years ago
|
||
Migrating Webcompat whiteboard priorities to project flags. See bug 1547409.
Webcompat Priority: --- → ?
Comment 6•5 years ago
|
||
See bug 1547409. Migrating whiteboard priority tags to program flags.
Comment 7•4 years ago
|
||
(fwiw, the site has been redesigned and the original bug is no longer break the page)
Webcompat Priority: ? → ---
Comment 8•4 years ago
|
||
This is the root of https://github.com/webcompat/web-bugs/issues/49638 as well.
See Also: → https://webcompat.com/issues/49638
Updated•2 years ago
|
Severity: normal → S3
Reporter | ||
Comment 9•8 days ago
|
||
Fancourier has also updated their design, and this bug no longer seems to apply there. Since we know of no other sites broken by this right now, unsetting webcompat flags.
Flags: webcompat?
Whiteboard: [webcompat]
You need to log in
before you can comment on or make changes to this bug.
Description
•