add html doctype
This commit is contained in:
parent
62375663ab
commit
56d62ff589
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ var WebViewImpl = (function () {
|
||||||
this.on = {}
|
this.on = {}
|
||||||
this.browserPluginNode = this.createBrowserPluginNode()
|
this.browserPluginNode = this.createBrowserPluginNode()
|
||||||
shadowRoot = this.webviewNode.createShadowRoot()
|
shadowRoot = this.webviewNode.createShadowRoot()
|
||||||
shadowRoot.innerHTML = '<style type="text/css">:host { display: flex; }</style>'
|
shadowRoot.innerHTML = '<!DOCTYPE html><style type="text/css">:host { display: flex; }</style>'
|
||||||
this.setupWebViewAttributes()
|
this.setupWebViewAttributes()
|
||||||
this.setupFocusPropagation()
|
this.setupFocusPropagation()
|
||||||
this.viewInstanceId = getNextId()
|
this.viewInstanceId = getNextId()
|
||||||
|
|
Loading…
Reference in a new issue