Open Bug 1815657 Opened 1 year ago Updated 23 days ago

Wrong ratio on layout viewport on Android

Categories

(Core :: Layout: Flexbox, defect)

Firefox 109
All
Android
defect

Tracking

()

People

(Reporter: ossman, Unassigned)

Details

Attachments

(1 file)

Attached file Test case

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/109.0

Steps to reproduce:

  1. Create a page that is wider than the device screen
  2. Style the page so that there is a banner at the bottom of the page

See attached test case.

Actual results:

Banner ends up in the middle of the page.

Expected results:

Banner should be placed firmly at the bottom of the page.

The problem seems to be the "desktop site" compatibility mode and that it doesn't preserve aspect ratio when it computes its large layout viewport.

Issue does not happen with Safari, but does happen with Chrome:

https://bugs.chromium.org/p/chromium/issues/detail?id=1413997

The severity field is not set for this bug.
:cpeterson, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(cpeterson)
Flags: needinfo?(cpeterson)

Is this still reproducible on 120?

Severity: -- → S3
Flags: qe-verify+

This is still reproducible for me on 120 with a Pixel 6a.

Sending this to the Layout component because, as the reporter mentioned as well, this is happening on Chrome Android as well (version 121 in my testing).

Component: Browser Engine → Layout
Product: Fenix → Core
Flags: qe-verify+

The severity field is not set for this bug.
:boris, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(boris.chiou)

I suspect this may be related to flex layout on Android (per the test case), so move to flexbox component, and mark S3.

Severity: -- → S3
Component: Layout → Layout: Flexbox
Flags: needinfo?(boris.chiou)
Status: UNCONFIRMED → NEW
Ever confirmed: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: