New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 785990 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 3
Type: Bug



Sign in to add a comment

Table cells have incorrect height if the default OS zoom level is 125% (Windows 10)

Reported by supp...@devexpress.com, Nov 16 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36

Steps to reproduce the problem:
1.Open the tableExample.html file in the Chrome browser. Table cells have 50px height defined in CSS by default (see sreenshot1.png). We can see this in DevTools.

2. Change the default system zoom level to '125%' (see screenshot2.png). 

3. Sign out and Sign In.

4. Open the tableExample.html file again and enable browser DevTools. Cells will now have different height. (see screenshot3.png) 

What is the expected behavior?
Cells should always have the same height independent the zoom level as in IE and Firefox

What went wrong?
It looks like the browser changes elements height despite defined CSS rules

Did this work before? No 

Chrome version: 62.0.3202.94  Channel: stable
OS Version: 10.0
Flash Version: Shockwave Flash 27.0 r0

Although difference is not really significant in this example, this behavior doesn't allow us to efficiently calculate cells size in certain cases
 
screenshot1.png
76.1 KB View Download
screenshot2.png
44.0 KB View Download
screenshot3.png
58.8 KB View Download
tableExample.html
521 bytes View Download
Labels: Needs-Triage-M62

Comment 2 by bokan@chromium.org, Nov 16 2017

Components: -Blink Blink>Layout
Cc: divya.pa...@techmahindra.com
Labels: -Type-Bug -Pri-2 Triaged-ET M-64 Needs-Milestone OS-Linux OS-Mac Pri-1 Type-Bug-Regression
Owner: bsep@chromium.org
Status: Assigned (was: Unconfirmed)
Able to reproduce the issue on reported version 62.0.3202.94 and latest Canary 64.0.3270.0 using Windows 10, Ubuntu 14.04 and Mac 10.12.6, 

Bisect Info:
================
Good build: 54.0.2800.0
Bad build: 54.0.2802.0

You are probably looking for a change made after 406435 (known good), but no lat
er than 406437 (first known bad).
CHANGELOG URL:
https://chromium.googlesource.com/chromium/src/+log/281516541a3aa129b5a23c29cd
fb926c99f3d516..9ab8b8c345e668ae0932c162810604ea4eb7bc42

Reviewed on: https://codereview.chromium.org/2157243003

Suspecting same from changelog.

@bsep,Kindly take a look and please help us to reassign this issue to a right owner if not with respect to this change.

Thanks.!

Comment 4 by bsep@chromium.org, Nov 17 2017

Labels: -Pri-1 -Type-Bug-Regression Pri-3 Type-Bug
Not a regression. The bisected patch just enabled 125% zoom.

I'm not even sure this is a bug, we may just be overly honest in the devtools. The 50 CSS pixel height is scaled up to 62.5 real pixels, but we snap it to 62 pixels to avoid subpixel artifacts. Then we scale that back down to CSS pixels for the devtools. 62 / 1.25 = 49.6.

Sign in to add a comment