diff options
author | Fabio Bas <ctrlaltca@gmail.com> | 2014-02-25 22:43:00 +0100 |
---|---|---|
committer | Fabio Bas <ctrlaltca@gmail.com> | 2014-02-25 22:43:00 +0100 |
commit | a0d6864093cf13a96dafa8a47b5c43891b2b864f (patch) | |
tree | ce0fd41762e21fc5bee56f6597d14c05491e4190 /tests/FunctionalTests/active-controls/protected/pages/Layout.tpl | |
parent | b340ed9cc57f327785ebc0c1b8fb725ffb02d647 (diff) |
Ensure all tests have a proper doctype and html structure, to avoid browser's quirks mode
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 |