diff options
author | Fabio Bas <ctrlaltca@gmail.com> | 2014-02-25 22:43:00 +0100 |
---|---|---|
committer | David <ottodavid@gmx.net> | 2014-08-21 17:26:44 +0200 |
commit | 3db08b4d991c02870d04f7198d65fd926805709c (patch) | |
tree | 8d98a63b4d51ababbb24eea9e3d7dab8150f068b /tests/FunctionalTests/active-controls/protected/pages/Layout.tpl | |
parent | 4b6d2eab3433bb42671b6b60c28a3ec0434d1983 (diff) |
Ensure all tests have a proper doctype and html structure, to avoid browser's quirks mode
(cherry picked from commit a0d6864093cf13a96dafa8a47b5c43891b2b864f)
Conflicts:
tests/FunctionalTests/active-controls/protected/pages/ActivePanelTest.page
tests/FunctionalTests/active-controls/protected/pages/PostLoadingTest.page
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected/pages/Layout.tpl')
-rwxr-xr-x | tests/FunctionalTests/active-controls/protected/pages/Layout.tpl | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/Layout.tpl b/tests/FunctionalTests/active-controls/protected/pages/Layout.tpl new file mode 100755 index 00000000..ead6c66f --- /dev/null +++ b/tests/FunctionalTests/active-controls/protected/pages/Layout.tpl @@ -0,0 +1,38 @@ +<!DOCTYPE html PUBLIC + "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<com:THead Title="PRADO Functional Tests"> + <meta http-equiv="Content-type" content="text/html; charset=UTF-8" /> + <style type="text/css"> + /*<![CDATA[*/ + .defect + { + color: #c00; + font-size: 1.15em; + } + body + { + font-family: Georgia, "Times New Roman", Times, serif; + } + .w3c + { + margin-top: 2em; + display: block; + } + .required + { + border: 1px solid red; + background-color: pink; + } + /*]]>*/ + </style> +</com:THead> +<body> +<com:TForm> +<com:TContentPlaceHolder ID="Content" /> +<hr style="margin-top: 2em" /> +</com:TForm> +</body> +</html>
\ No newline at end of file |