Closed Bug 1416196 Opened 8 years ago Closed 8 years ago

[Responsive mode] in Responsive design mode viewport size is not properly recognized by JS

Categories

(DevTools :: Responsive Design Mode, defect)

56 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1351487

People

(Reporter: maciek, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0 Build ID: 20171024165158 Steps to reproduce: choose inspect element, turn on Responsive Design Mode, refresh page with script or type in console: window.screen.availWidth Actual results: loaded page doesnt recognize vieport as mobile, command in console returns screen width Expected results: loaded page should load in responsive mode, command in console should return Responsive Design Mode width
Component: Untriaged → Developer Tools: Responsive Design Mode
Thanks for filing! There are at least 2 known issues related to what you've mentioned: Bug 1290420 about applying <meta viewport> settings Bug 1351487 about the screen.availWidth value I'll mark this as a duplicate of bug 1351487, since this feels focused on the width, but both are likely related.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.