Browse Source

add type to webview style tag

Zeke Sikelianos 8 years ago
parent
commit
62375663ab
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/renderer/web-view/web-view.js

+ 1 - 1
lib/renderer/web-view/web-view.js

@@ -31,7 +31,7 @@ var WebViewImpl = (function () {
     this.on = {}
     this.browserPluginNode = this.createBrowserPluginNode()
     shadowRoot = this.webviewNode.createShadowRoot()
-    shadowRoot.innerHTML = '<style>:host { display: flex; }</style>'
+    shadowRoot.innerHTML = '<style type="text/css">:host { display: flex; }</style>'
     this.setupWebViewAttributes()
     this.setupFocusPropagation()
     this.viewInstanceId = getNextId()