Bug 103774 - vh/vm units not working inside calc function
Summary: vh/vm units not working inside calc function
Status: RESOLVED DUPLICATE of bug 94158
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified OS X 10.8
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-30 14:13 PST by Yaili
Modified: 2012-12-03 22:10 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yaili 2012-11-30 14:13:39 PST
When using the calc function with vh units the browser doesn't recognise that value and ignores it.

I have tried a couple of options to confirm whether it was a problem with the unit itself or the calc function and percentages, but it seems like the problem is only with vh units + calc

Here is an example:

http://jsfiddle.net/yaili/ZsFey/2/
Comment 1 Mike Lawther 2012-12-03 22:10:35 PST

*** This bug has been marked as a duplicate of bug 94158 ***