source: tracwysiwygplugin/0.11/tests/index.html

Last change on this file was 13450, checked in by Jun Omae, 10 years ago

TracWysiwygPlugin: added X-UA-Compatible: IE=edge to tests/index.html

File size: 2.1 KB
Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
3<head>
4  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5  <title>tracwysiwyg test</title>
6  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
7  <link rel="stylesheet" href="./chrome/common/css/trac.css" type="text/css" />
8  <link rel="stylesheet" href="../tracwysiwyg/htdocs/wysiwyg.css" type="text/css" />
9  <script type="text/javascript" src="./trac.js"></script>
10  <script type="text/javascript" src="../tracwysiwyg/htdocs/wysiwyg.js"></script>
11  <script type="text/javascript" src="./testunit.js"></script>
12  <script type="text/javascript" src="./testcase.js"></script>
13  <script type="text/javascript">var _tracwysiwyg = { escapeNewlines: false }</script>
14  <style type="text/css">
15  html { font-size: 13px; *font-size: small; }
16  body { font-family: Arial, Helvetica, sans-serif; font-size: 100%; }
17  textarea { font-size: 11px; width: 100%; border: 1px solid #999; }
18  #testunit .current { background-color: #FFFF80; }
19  #testunit .success { background-color: #33dd88; }
20  #testunit .failure textarea { background-color: #ff3333; border-style: none; }
21  #wysiwyg-html {
22    width: 100%;
23    border: 1px solid #999;
24    font-size: 11px;
25    white-space: -moz-pre-wrap;
26    white-space: -pre-wrap;
27    white-space: -o-pre-wrap;
28    white-space: pre-wrap;
29    word-wrap: break-word;
30  }
31  </style>
32</head>
33<body>
34  <form method="post">
35    <textarea id="textarea" class="wikitext" cols="50" rows="20" wrap="off"></textarea>
36    <div>
37      <label><input type="checkbox" id="show-wysiwyg-html" value="1"
38        onclick="document.getElementById('wysiwyg-html').style.display=this.checked?'':'none'"
39        />show html</label>
40      &nbsp;
41      <label><input type="checkbox" value="1"
42        onclick="_tracwysiwyg.escapeNewlines = this.checked"
43        />escape newlines</label>
44      <textarea id="wysiwyg-html" cols="50" rows="12" style="display:none;"></textarea>
45    </div>
46  </form>
47</body>
48</html>
Note: See TracBrowser for help on using the repository browser.