Problem with height was due to bug in WebKit (https://bugs.webkit.org/show_bug.cgi?id=82489). Added hack to CSS (was already working in firefox)