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

Issue 606331 link

Starred by 3 users

Issue metadata

Status: WontFix
Owner:
Last visit > 30 days ago
Closed: Jun 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

Computed bottom property is not correct when position is relative

Reported by stefan.neculai@gmail.com, Apr 25 2016

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.86 Safari/537.36

Steps to reproduce the problem:
1. Go to https://jsfiddle.net/fvn9cz1s/.
2. You will see an alert with the bottom property.

What is the expected behavior?
Bottom should be 'auto', not '0px'.

What went wrong?
Computed bottom property is not correct.

Did this work before? Yes Chrom 50.0.2661.86 (64-bit) works just fine

Chrome version: 52.0.2715.0 canary (64-bit)  Channel: stable
OS Version: OS X 10.11.3
Flash Version: Shockwave Flash 21.0 r0

Got a report that same thing is happening in Chrome 51.0.2704.22 beta-m (64-bit).
 
Components: -Blink Blink>Layout

Comment 2 by e...@chromium.org, Apr 26 2016

Status: WontFix (was: Unconfirmed)
This returns auto for me both on stable, beta and dev.
Here is a recording of the issue. Maybe that is happening only on OS X?
chrome canary issue.mov
3.7 MB Download

Comment 4 Deleted

Could you please review this again? It is happening starting with version 51.0.2704 in Chrome browser it was not happening before. It appears that CSS property position: relative is causing this problem. See https://jsfiddle.net/t7r62gg8/. Safari browser is returning auto, auto in both cases.

Thank you in advanced for considering this.
We have this problem too. Will this be reopened or should we create a new Issue? 
Status: Untriaged (was: WontFix)

Comment 8 by panma...@gmail.com, Jun 15 2016

I can confirm that I get the unexpected result of 0px, using both Chrome on Windows 10 and OS X. Here are my user agents:

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

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.79 Safari/537.36

Comment 9 by e...@chromium.org, Jun 22 2016

Cc: ikilpatrick@chromium.org glebl@chromium.org dgro...@chromium.org szager@chromium.org
Status: Available (was: Untriaged)

Comment 11 by glebl@chromium.org, Jun 23 2016

Status: WontFix (was: Assigned)
It's intentional, please see  http://crbug.com/589347 . The change was introduced for better compatibility with Firefox which returns 0px for the provided example.

Sign in to add a comment