New issue
Advanced search Search tips

Issue 222688 link

Starred by 7 users

Issue metadata

Status: Duplicate
Merged: issue 168840
Owner: ----
Closed: Mar 2013
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Compat



Sign in to add a comment

css calc doesn't work with vh, vm, vmin

Reported by he...@leo-koppelkamm.de, Mar 21 2013

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.172 Safari/537.22

Example URL:

Steps to reproduce the problem:
1. css calc doesn't work with vh, vm, vmin
2. 
3. 

What is the expected behavior?

What went wrong?
Chrome says "invalid property value"

Does it occur on multiple sites: N/A

Is it a problem with a plugin? N/A 

Did this work before? N/A 

Does this work in other browsers? N/A 

Chrome version: 25.0.1364.172  Channel: stable
OS Version: OS X 10.8.2
 

Comment 1 by tkent@chromium.org, Mar 21 2013

Labels: Cr-Content-CSS
Mergedinto: 168840
Status: Duplicate
Project Member

Comment 3 by bugdroid1@chromium.org, Apr 5 2013

Labels: Cr-Blink
Project Member

Comment 4 by bugdroid1@chromium.org, Apr 6 2013

Labels: -Cr-Content-CSS Cr-Blink-CSS
I ran into this bug today and have a simple workaround for simple calcs.

For instance:

Fails--

height: calc(100vmin - 50px)

Naive Workaround--

height: 100vmin
margin-top: -50px

Sign in to add a comment