Open Bug 1602021 Opened 6 years ago Updated 3 years ago

Moving a hidden absolutly positioned element gives different position vs. moved when not hidden

Categories

(Core :: Layout, defect, P3)

69 Branch
defect

Tracking

()

Tracking Status
firefox71 --- affected
firefox72 --- affected
firefox73 --- affected

People

(Reporter: contact, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:69.0) Gecko/20100101 Firefox/69.0

Steps to reproduce:

Moved a hidden, absolutly positioned element in the DOM.

Actual results:

It ended up in the wrong place on screen when unhidden.
Moving it without hiding it first results in it being in the expected place.

Expected results:

Resultant position should not depend on display: none

I'm setting the component in order to involve the development team to review this issue. Thanks!

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

Hi,
thanks for the details. I was able to reproduce on Windows 10, MacOS 10.14.5 and Ubuntu 18.04.3 LTS on Firefox 71, 72 and Nightly version 73.0a1 (2019-12-12) (64-bit).

Component was set in previous review.

Regards,
Jerónimo.

Flags: needinfo?(contact)

Confirming in the sense that the behavior differs from Safari. Over to layout to decide which engine has a bug.

Status: UNCONFIRMED → NEW
Component: DOM: Core & HTML → Layout
Ever confirmed: true
Flags: needinfo?(contact)

The priority flag is not set for this bug.
:djg, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(dglastonbury)
Flags: needinfo?(dglastonbury)
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: