Merge pull request #7313 from electron/add-type-to-webview-style-tag
add type to webview style tag
This commit is contained in:
commit
9850af93c9
1 changed files with 1 additions and 1 deletions
|
@ -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 = '<!DOCTYPE html><style type="text/css">:host { display: flex; }</style>'
|
||||
this.setupWebViewAttributes()
|
||||
this.setupFocusPropagation()
|
||||
this.viewInstanceId = getNextId()
|
||||
|
|
Loading…
Reference in a new issue