Closed Bug 2015696 Opened 9 months ago Closed 9 months ago

are not centered and are moved to the left side of the page.

Categories

(Core :: Layout, defect)

Firefox 147
defect

Tracking

()

RESOLVED DUPLICATE of bug 2017440

People

(Reporter: twelvew12, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:147.0) Gecko/20100101 Firefox/147.0

Steps to reproduce:

The new Firefox update has a bug. Elements with the attribute
margin-right: auto;
margin-left: auto;

are not centered and are moved to the left side of the page. When the width is changed, the element jumps and becomes flat. This bug in version 147.0.3

Actual results:

The new Firefox update has a bug. Elements with the attribute
margin-right: auto;
margin-left: auto;

are not centered and are moved to the left side of the page. When the width is changed, the element jumps and becomes flat. This bug in version 147.0.3

Expected results:

The new Firefox update has a bug. Elements with the attribute
margin-right: auto;
margin-left: auto;

are not centered and are moved to the left side of the page. When the width is changed, the element jumps and becomes flat. This bug in version 147.0.3

The Bugbug bot thinks this bug should belong to the 'Core::DOM: Core & HTML' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → DOM: Core & HTML
Product: Firefox → Core

Hi Amir,

can you provide a test case for this?

Component: DOM: Core & HTML → Layout
Flags: needinfo?(twelvew12)

test in firefox:
https://jumpshare.com/s/uO1MsvjyN5t08qNqwMNk

test in chrome:
https://jumpshare.com/s/ibryFw9sRYjn3UuEwe6x

This bug occurred exactly in update 147.0.3
. Sample links from firefox and Chrome were placed. Please check quickly. Videos will be deleted in 24 hours.

Flags: needinfo?(twelvew12)

Please keep me updated...

Flags: needinfo?(twelvew12)

Thanks. Could you do a mozregression? This might create a regression range.

Does the element in question here have position: absolute?

If so, this is probably bug 2017440 which just had a fix get checked in (so, likely fixed in Nightly tomorrow or the next day).

See Also: → 2017440

My element here is position: fixed

Flags: needinfo?(twelvew12)

Thanks, yeah bug 2017440 would affect that as well. Should be fixed in today or tomorrow's nightly 149 build.

Status: UNCONFIRMED → RESOLVED
Closed: 9 months ago
Duplicate of bug: 2017440
Resolution: --- → DUPLICATE
See Also: 2017440 →
You need to log in before you can comment on or make changes to this bug.