Open Bug 1943496 Opened 17 days ago Updated 13 hours ago

Incorrectly reports screen width when page has <meta name="viewport" content = "width=device-width, initial-scale=1.0">

Categories

(Fenix :: Browser Engine, defect)

Firefox 134
All
Android
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: savva.madar+git, Unassigned)

Details

Attachments

(1 file)

Attached image ffsample.png

Steps to reproduce:

My friend and his sister's S24 Ultra report an incorrect screen width of 252px with the following html:

<meta name="viewport" content = "width=device-width, initial-scale=1.0">

chrome and opera on their phone reports 360px.

I made a website to show it off:

test 0 - behavior for: content="width=device-width, initial-scale=1.0"
https://madar.games/mt/broken.html?test=0

test 1 - behavior for: content=""
https://madar.games/mt/broken.html?test=1

test 2 - behavior for: a fix involving manually scaling
https://madar.games/mt/broken.html?test=2

Actual results:

test=0 render way too big, and should render closer to how test=2 renders
test=2 renders the way the website renders in chrome and opera

Expected results:

test=0 should render closer to test=2

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

For more information, please visit BugBot documentation.

Flags: needinfo?(jboek)

In our queue to triage.

Flags: needinfo?(jboek)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: