jenkins-bot has submitted this change and it was merged.

Change subject: Initialize iframe for dialog with correct doctype
......................................................................


Initialize iframe for dialog with correct doctype

Change-Id: I93bf12754b5c4d99e117c822d287015765651eb3
---
M modules/ve/ui/ve.ui.Frame.js
1 file changed, 6 insertions(+), 3 deletions(-)

Approvals:
  Trevor Parscal: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/modules/ve/ui/ve.ui.Frame.js b/modules/ve/ui/ve.ui.Frame.js
index ae1f806..869b86b 100644
--- a/modules/ve/ui/ve.ui.Frame.js
+++ b/modules/ve/ui/ve.ui.Frame.js
@@ -80,9 +80,12 @@
        // Initialize contents
        doc.open();
        doc.write(
-               '<body style="padding:0;margin:0;">' +
-                       '<div class="ve-ui-frame-content"></div>' +
-               '</body>'
+               '<!doctype html>' +
+               '<html>' +
+                       '<body style="padding:0;margin:0;">' +
+                               '<div class="ve-ui-frame-content"></div>' +
+                       '</body>' +
+               '</html>'
        );
        doc.close();
 

-- 
To view, visit https://gerrit.wikimedia.org/r/59983
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I93bf12754b5c4d99e117c822d287015765651eb3
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Inez <[email protected]>
Gerrit-Reviewer: Catrope <[email protected]>
Gerrit-Reviewer: Trevor Parscal <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to