New issue
Advanced search Search tips

Issue 654229 link

Starred by 2 users

Issue metadata

Status: Archived
Owner:
Closed: Oct 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

Width calculation of elements don't work with device mode

Reported by kugelmann.dennis@gmail.com, Oct 8 2016

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36

Steps to reproduce the problem:
1. I have display flex, with flex direction column on parent element and a specific width of 550px on a child
2. When toggling device mode on and adjust screen width to 750px it seems like the child element has the same width as the screen has.

What is the expected behavior?
The screen width or the element should have the correct width.

What went wrong?
I think the calculation of the screen width went wrong or the way the 550px of the element are displayed.

Did this work before? N/A 

Chrome version: 53.0.2785.143  Channel: stable
OS Version: 10.0
Flash Version: Shockwave Flash 23.0 r0
 
1eba6289-91ac-42d6-8c36-52e653da1cf9.png
810 KB View Download

Comment 1 by alph@chromium.org, Oct 10 2016

Owner: dgozman@chromium.org
Status: Assigned (was: Unconfirmed)
Btw, I also see that tooltips are zoomed, I think they should have been of a fixed size.
Labels: Needs-Feedback
Could you please provide a page (either attach or past an url to it) which happens to reproduce the problem? It's hard to find any issue from this description without repro case.
If you start local server go to: /search

and do the steps provided above: 
- toggle device mode
- change mode to responsive
- adjust the screen width to something like 750px

For completeness, when I resize the browser window by minimizing the window and then adjusting the width of the whole Chrome window everything works as expected.
4b06a82c-de67-4995-bd2a-106eb867484f.png
1.6 MB View Download
Labels: Hotlist-Polish

Comment 7 by l...@chromium.org, Feb 13 2017

Components: Platform>DevTools>Mobile
Status: Archived (was: Assigned)

Sign in to add a comment