b=450088 backing out (new reftest failed)
[wine-gecko.git] / testing / mochitest / tests / test_bug218277.html
blobe63f0188e528382e10e116b3de02496d64827b15
1 <!DOCTYPE HTML>
2 <html>
3 <!--
4 https://bugzilla.mozilla.org/show_bug.cgi?id=218277
5 -->
6 <head>
7 <title>Test for Bug 218277</title>
8 <script type="text/javascript" src="/MochiKit/MochiKit.js"></script>
9 <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
10 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
11 </head>
12 <body>
13 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=218277">Mozilla Bug 218277</a>
14 <p id="display"></p>
15 <div id="content" style="display: block">
16 <input id="ctrl" name="ctrl" size="20" value="keep&nbsp;together" readonly />
17 </div>
18 <pre id="test">
19 <script class="testbody" type="text/javascript">
21 /** Test for Bug 218277 **/
23 is(escape($('ctrl').value), "keep%A0together", "nbsp preserved in form submissions");
25 </script>
26 </pre>
27 </body>
28 </html>