{"action":"created","issue":{"url":"https://api.github.com/repos/ariya/phantomjs/issues/13896","repository_url":"https://api.github.com/repos/ariya/phantomjs","labels_url":"https://api.github.com/repos/ariya/phantomjs/issues/13896/labels{/name}","comments_url":"https://api.github.com/repos/ariya/phantomjs/issues/13896/comments","events_url":"https://api.github.com/repos/ariya/phantomjs/issues/13896/events","html_url":"https://github.com/ariya/phantomjs/issues/13896","id":126977765,"number":13896,"title":"PhantomJS handles calc incorrectly if it relies on vh or vw","user":{"login":"etamponi","id":578612,"avatar_url":"https://avatars.githubusercontent.com/u/578612?v=3","gravatar_id":"","url":"https://api.github.com/users/etamponi","html_url":"https://github.com/etamponi","followers_url":"https://api.github.com/users/etamponi/followers","following_url":"https://api.github.com/users/etamponi/following{/other_user}","gists_url":"https://api.github.com/users/etamponi/gists{/gist_id}","starred_url":"https://api.github.com/users/etamponi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etamponi/subscriptions","organizations_url":"https://api.github.com/users/etamponi/orgs","repos_url":"https://api.github.com/users/etamponi/repos","events_url":"https://api.github.com/users/etamponi/events{/privacy}","received_events_url":"https://api.github.com/users/etamponi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-15T23:12:19Z","updated_at":"2016-04-27T07:29:29Z","closed_at":null,"body":"I am using PhantomJS compiled from source, last compilation some hour ago (it also reproduces on PhantomJS 2.0 on Windows).\r\n\r\nThis html snippet will render an empty page in PhantomJS:\r\n```html\r\n<style>\r\n   .container {\r\n        width: 100%;\r\n        height: calc(100vh - 50px);\r\n    }\r\n</style>\r\n<div class=\"container\"></div>\r\n````\r\nIf you use `height: calc(100pt - 50px)`, it will work. If you use `height: 100vh`, it will work. The combination of `calc` and `vh` will not."},"comment":{"url":"https://api.github.com/repos/ariya/phantomjs/issues/comments/214993452","html_url":"https://github.com/ariya/phantomjs/issues/13896#issuecomment-214993452","issue_url":"https://api.github.com/repos/ariya/phantomjs/issues/13896","id":214993452,"user":{"login":"etamponi","id":578612,"avatar_url":"https://avatars.githubusercontent.com/u/578612?v=3","gravatar_id":"","url":"https://api.github.com/users/etamponi","html_url":"https://github.com/etamponi","followers_url":"https://api.github.com/users/etamponi/followers","following_url":"https://api.github.com/users/etamponi/following{/other_user}","gists_url":"https://api.github.com/users/etamponi/gists{/gist_id}","starred_url":"https://api.github.com/users/etamponi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etamponi/subscriptions","organizations_url":"https://api.github.com/users/etamponi/orgs","repos_url":"https://api.github.com/users/etamponi/repos","events_url":"https://api.github.com/users/etamponi/events{/privacy}","received_events_url":"https://api.github.com/users/etamponi/received_events","type":"User","site_admin":false},"created_at":"2016-04-27T07:29:29Z","updated_at":"2016-04-27T07:29:29Z","body":"I investigated a bit more and found that it is a WebKit bug...\nIl 27 apr 2016 8:13 AM, \"Kyle Pittman\" <notifications@github.com> ha\nscritto:\n\n> +1 - this is affecting my tests, unfortunately. Anyone have any ideas\n> about what's causing the problem on Phantom's side of things?\n>\n> —\n> You are receiving this because you authored the thread.\n> Reply to this email directly or view it on GitHub\n> <https://github.com/ariya/phantomjs/issues/13896#issuecomment-214980783>\n>\n"}}