add html doctype

This commit is contained in:
Zeke Sikelianos 2016-09-22 14:47:20 -07:00
parent 62375663ab
commit 56d62ff589

View file

@ -31,7 +31,7 @@ var WebViewImpl = (function () {
this.on = {}
this.browserPluginNode = this.createBrowserPluginNode()
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.setupFocusPropagation()
this.viewInstanceId = getNextId()