From bb357bd2a446e35bea862cd15cf581a60b76b493 Mon Sep 17 00:00:00 2001 From: Shane Tomlinson <stomlinson@mozilla.com> Date: Wed, 11 Jan 2012 17:39:59 +0000 Subject: [PATCH] Making sure the DOCTYPE line comes before the license or else IE8 goes into Quirks Mode. close #827 --- resources/views/authenticate_with_primary.ejs | 3 +-- resources/views/communication_iframe.ejs | 3 +-- resources/views/dialog_layout.ejs | 3 +-- resources/views/layout.ejs | 3 +-- resources/views/relay.ejs | 3 +-- 5 files changed, 5 insertions(+), 10 deletions(-) diff --git a/resources/views/authenticate_with_primary.ejs b/resources/views/authenticate_with_primary.ejs index 0a642c9ad..35857e8ee 100644 --- a/resources/views/authenticate_with_primary.ejs +++ b/resources/views/authenticate_with_primary.ejs @@ -1,8 +1,7 @@ +<!DOCTYPE html> <!-- This Source Code Form is subject to the terms of the Mozilla Public - License, v. 2.0. If a copy of the MPL was not distributed with this - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> - -<!doctype html> <html> <head> <meta charset="utf-8"> diff --git a/resources/views/communication_iframe.ejs b/resources/views/communication_iframe.ejs index 7dba2b0e6..e8ea25450 100644 --- a/resources/views/communication_iframe.ejs +++ b/resources/views/communication_iframe.ejs @@ -1,8 +1,7 @@ +<!DOCTYPE html> <!-- This Source Code Form is subject to the terms of the Mozilla Public - License, v. 2.0. If a copy of the MPL was not distributed with this - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> - -<!doctype html> <html> <head><title>non-interactive iframe</title> <meta charset="utf-8"> diff --git a/resources/views/dialog_layout.ejs b/resources/views/dialog_layout.ejs index 44d74a7aa..e794d1600 100644 --- a/resources/views/dialog_layout.ejs +++ b/resources/views/dialog_layout.ejs @@ -1,8 +1,7 @@ +<!DOCTYPE html> <!-- This Source Code Form is subject to the terms of the Mozilla Public - License, v. 2.0. If a copy of the MPL was not distributed with this - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> - -<!doctype html> <html> <head> <meta charset="utf-8"> diff --git a/resources/views/layout.ejs b/resources/views/layout.ejs index 3f5511903..e9a90ad50 100644 --- a/resources/views/layout.ejs +++ b/resources/views/layout.ejs @@ -1,8 +1,7 @@ +<!DOCTYPE html> <!-- This Source Code Form is subject to the terms of the Mozilla Public - License, v. 2.0. If a copy of the MPL was not distributed with this - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> - -<!DOCTYPE html> <html> <head> <meta charset="utf-8"> diff --git a/resources/views/relay.ejs b/resources/views/relay.ejs index 83508835f..b7fe60a7a 100644 --- a/resources/views/relay.ejs +++ b/resources/views/relay.ejs @@ -1,8 +1,7 @@ +<!DOCTYPE html> <!-- This Source Code Form is subject to the terms of the Mozilla Public - License, v. 2.0. If a copy of the MPL was not distributed with this - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> - -<!doctype html> <html> <head> <meta charset="utf-8"> -- GitLab