From 19a172f2f589e9702bdc7813372a9f72ca094e3d Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Sat, 2 Apr 2016 21:21:30 +0900 Subject: [PATCH] Remove the hacks because of transparent background --- docs/faq/electron-faq.md | 13 ------------- spec/static/index.html | 5 ----- 2 files changed, 18 deletions(-) diff --git a/docs/faq/electron-faq.md b/docs/faq/electron-faq.md index 1782d3873108..41b301d71981 100644 --- a/docs/faq/electron-faq.md +++ b/docs/faq/electron-faq.md @@ -144,19 +144,6 @@ is very likely you are using the module in the wrong process. For example `electron.app` can only be used in the main process, while `electron.webFrame` is only available in renderer processes. -## Why is my app's background transparent? - -Since Electron `0.37.3`, the default user-agent background color is `transparent`. -Simply specify a background color in HTML: - -```html - -``` - [memory-management]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Memory_Management [variable-scope]: https://msdn.microsoft.com/library/bzt2dkta(v=vs.94).aspx [electron-module]: https://www.npmjs.com/package/electron diff --git a/spec/static/index.html b/spec/static/index.html index 3c57f94d144d..e31fcffebb89 100644 --- a/spec/static/index.html +++ b/spec/static/index.html @@ -3,11 +3,6 @@ -