add type to webview style tag

This commit is contained in:
Zeke Sikelianos 2016-09-22 14:34:03 -07:00
parent f5694daeb7
commit 62375663ab

View file

@ -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()