<p dir="auto"><strong>How to reproduce this issue:</strong></p>
<p dir="auto">Apply <code class="notranslate">transform: scale(0.8)</code> style on a <code class="notranslate">&lt;webview&gt;</code> element, and then resize the screen. The webview contents take up an area smaller than the expected size based on the CSS transform. The issue also also occurs when a script changes the style attribute of the webview or its ancestor elements.</p>
<p dir="auto"><strong>Example:</strong></p>
<p dir="auto">For this example I used a webview with <code class="notranslate">style="height: 100%; width: 100%;"</code>, but I've experimented with webviews with different style configurations and the issue seems to occur regardless of how the page is set up.</p>
<p dir="auto">Before scaling:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/5552308/11701846/0c14ad0c-9ea0-11e5-9c97-d93b22a0ab99.png"><img src="https://cloud.githubusercontent.com/assets/5552308/11701846/0c14ad0c-9ea0-11e5-9c97-d93b22a0ab99.png" alt="screen shot 2015-12-09 at 6 09 35 pm" style="max-width: 100%;"></a></p>
<p dir="auto">After scaling, before resize:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/5552308/11701545/24cbd0c0-9e9e-11e5-82b0-31bd16c41f3f.png"><img src="https://cloud.githubusercontent.com/assets/5552308/11701545/24cbd0c0-9e9e-11e5-82b0-31bd16c41f3f.png" alt="screen shot 2015-12-09 at 5 56 02 pm" style="max-width: 100%;"></a></p>
<p dir="auto">After resize:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/5552308/11701501/e87a7a5e-9e9d-11e5-86ff-4070eb108a92.png"><img src="https://cloud.githubusercontent.com/assets/5552308/11701501/e87a7a5e-9e9d-11e5-86ff-4070eb108a92.png" alt="screen shot 2015-12-09 at 5 53 54 pm" style="max-width: 100%;"></a></p>
<p dir="auto">This is what's happening:<br>
<a href="https://github.com/pakastin/electron-bug">http://github.com/pakastin/electron-bug</a></p>