<p dir="auto">A quick question to clarify an answer on <a href="http://stackoverflow.com/a/29966094/1571103" rel="nofollow">StackOverflow</a>:</p>
<p dir="auto">Is Electron originally forked from NW.js, or is it just inspired by NW.js (if so, is it a fork of any existing repository) ?</p>
<ul dir="auto">
<li>Output of <code class="notranslate">node_modules/.bin/electron --version</code>: v3.0.2</li>
<li>Operating System (Platform and Version): Windows 10 Pro 17134</li>
<li>Output of <code class="notranslate">node_modules/.bin/electron --version</code> on last known working Electron version (if applicable): v1.6.15</li>
</ul>
<p dir="auto"><strong>Expected Behavior</strong><br>
Reloading (Ctrl R) a <code class="notranslate">BrowserWindow</code> with <code class="notranslate">backgroundColor</code> set should display that background color until the page begins to load.</p>
<p dir="auto"><strong>Actual behavior</strong><br>
Reloading (Ctrl R) a <code class="notranslate">BrowserWindow</code> with <code class="notranslate">backgroundColor</code> set displays white until the page begins to load.</p>
<p dir="auto"><strong>To Reproduce</strong><br>
I've reproduced the issue in electron-quick-start by:</p>
<ul dir="auto">
<li>Adding <code class="notranslate"> style="background-color: transparent;"</code> to <code class="notranslate">index.html</code>'s <code class="notranslate">body</code> tag (pedantic, I know)</li>
<li>Adding <code class="notranslate">backgroundColor: '#ffff0000', </code> to <code class="notranslate">main.js</code>'s <code class="notranslate">BrowserWindow</code> options</li>
<li>Alternatively, clone my fork of electron-quick-start:</li>
</ul>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ git clone https://github.com/adill/electron-quick-start.git -b background-color-reload
$ npm install
$ npm start"><pre class="notranslate">$ git clone https://github.com/adill/electron-quick-start.git -b background-color-reload
$ npm install
$ npm start</pre></div>
<ol dir="auto">
<li>Notice the red background color on the page (transparent body is showing through to the opaque red background.)</li>
<li>Reload (Ctrl R)</li>
<li>Notice the background color is now white</li>
</ol>