]> khamidou — GitHub mirrors - electron.git/commit
Prevent overflow on webview with height: 100%
authorMal Graty <mal.graty@googlemail.com>
Sat, 21 Feb 2015 22:34:57 +0000 (22:34 +0000)
committerMal Graty <mal.graty@googlemail.com>
Sat, 21 Feb 2015 22:34:57 +0000 (22:34 +0000)
commit7eecb84898eb8874fdf813f0c43dbadd8ce83f13
tree17550da7747ea806e10849545701f0fe83d17440
parent0c99f3baa6be3224504fc0c5101a1e8de1b03c58
Prevent overflow on webview with height: 100%

Without this, the object element gets displayed `inline` which in chromium means that it slightly exceeds it's bounds. Unfortunately there's no nice way to mitigate this issue as I can't find a way to get extra css into this intermediate page. However, forcing a block display solves the issue.
atom/renderer/lib/web-view/web-view.coffee