<p dir="auto">Background transparency fails on small window when neither width nor height &gt;= 160 pixels.</p>
<p dir="auto">128x128 =&gt; transparency FAILED<br>
168x168 =&gt; transparency OK<br>
160x160 =&gt; transparency OK<br>
160x32 =&gt; transparency OK</p>
<p dir="auto">This issue is easily reproducible with codes like these.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="mainWindow = new BrowserWindow(width:128, height:128, frame:false, transparent:true, resizable:false});
mainWindow.loadUrl('file://' + __dirname + '/blank.html');"><pre class="notranslate"><code class="notranslate">mainWindow = new BrowserWindow(width:128, height:128, frame:false, transparent:true, resizable:false});
mainWindow.loadUrl('file://' + __dirname + '/blank.html');
</code></pre></div>
<p dir="auto">"blank.html" has background color set to "transparent".</p>
<p dir="auto">Tested on:</p>
<ul dir="auto">
<li>Windows 10 Home 64-bit</li>
<li>electron-v0.33.4-win32-ia32 (prebuilt version)</li>
</ul>
<p dir="auto">Observed on Windows 8.1 and Ubuntu 14.04 (unity). Does not appear to affect Mac OSX</p>
<p dir="auto">Creating a transparent window smaller than 160px square results in a white background. If both sides are shorter than 160px, the window will not be transparent. If one side is longer than 160px, the window will have transparency.</p>