1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dom/tests/mochitest/ajax/jquery/test/index.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,187 @@ 1.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 1.5 +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr" id="html"> 1.6 +<head> 1.7 + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 1.8 + <title>jQuery Test Suite</title> 1.9 + <link rel="Stylesheet" media="screen" href="data/testsuite.css" /> 1.10 + <script>var jQuery = "jQuery", $ = "$"; // For testing .noConflict()</script> 1.11 + <script type="text/javascript" src="../dist/jquery.js"></script> 1.12 + <script type="text/javascript" src="data/testrunner.js"></script> 1.13 + <script type="text/javascript" src="unit/core.js"></script> 1.14 + <script type="text/javascript" src="unit/dimensions.js"></script> 1.15 + <script type="text/javascript" src="unit/selector.js"></script> 1.16 + <script type="text/javascript" src="unit/event.js"></script> 1.17 + <script type="text/javascript" src="unit/ajax.js"></script> 1.18 + <script type="text/javascript" src="unit/fx.js"></script> 1.19 +</head> 1.20 + 1.21 +<body id="body"> 1.22 + <h1 id="header">jQuery Test Suite</h1> 1.23 + <h2 id="banner"></h2> 1.24 + <h2 id="userAgent"></h2> 1.25 + 1.26 + <!-- Test HTML --> 1.27 + <div id="nothiddendiv" style="height:1px;background:white;"> 1.28 + <div id="nothiddendivchild"></div> 1.29 + </div> 1.30 + <!-- this iframe is outside the #main so it won't reload constantly wasting time, but it means the tests must be "safe" and clean up after themselves --> 1.31 + <iframe id="loadediframe" name="loadediframe" style="display:none;" src="data/iframe.html"></iframe> 1.32 + <dl id="dl" style="display:none;"> 1.33 + <div id="main" style="display: none;"> 1.34 + <p id="firstp">See <a id="simon1" href="http://simon.incutio.com/archive/2003/03/25/#getElementsBySelector" rel="bookmark">this blog entry</a> for more information.</p> 1.35 + <p id="ap"> 1.36 + Here are some links in a normal paragraph: <a id="google" href="http://www.google.com/" title="Google!">Google</a>, 1.37 + <a id="groups" href="http://groups.google.com/">Google Groups</a>. 1.38 + This link has <code><a href="http://smin" id="anchor1">class="blog"</a></code>: 1.39 + <a href="http://diveintomark.org/" class="blog" hreflang="en" id="mark">diveintomark</a> 1.40 + 1.41 + </p> 1.42 + <div id="foo"> 1.43 + <p id="sndp">Everything inside the red border is inside a div with <code>id="foo"</code>.</p> 1.44 + <p lang="en" id="en">This is a normal link: <a id="yahoo" href="http://www.yahoo.com/" class="blogTest">Yahoo</a></p> 1.45 + <p id="sap">This link has <code><a href="#2" id="anchor2">class="blog"</a></code>: <a href="http://simon.incutio.com/" class="blog link" id="simon">Simon Willison's Weblog</a></p> 1.46 + 1.47 + </div> 1.48 + <p id="first">Try them out:</p> 1.49 + <ul id="firstUL"></ul> 1.50 + <ol id="empty"></ol> 1.51 + <form id="form" action="formaction"> 1.52 + <input type="text" name="action" value="Test" id="text1" maxlength="30"/> 1.53 + <input type="text" name="text2" value="Test" id="text2" disabled="disabled"/> 1.54 + <input type="radio" name="radio1" id="radio1" value="on"/> 1.55 + 1.56 + <input type="radio" name="radio2" id="radio2" checked="checked"/> 1.57 + <input type="checkbox" name="check" id="check1" checked="checked"/> 1.58 + <input type="checkbox" id="check2" value="on"/> 1.59 + 1.60 + <input type="hidden" name="hidden" id="hidden1"/> 1.61 + <input type="text" style="display:none;" name="foo[bar]" id="hidden2"/> 1.62 + 1.63 + <input type="text" id="name" name="name" value="name" /> 1.64 + 1.65 + <button id="button" name="button">Button</button> 1.66 + 1.67 + <textarea id="area1" maxlength="30">foobar</textarea> 1.68 + 1.69 + <select name="select1" id="select1"> 1.70 + <option id="option1a" class="emptyopt" value="">Nothing</option> 1.71 + <option id="option1b" value="1">1</option> 1.72 + <option id="option1c" value="2">2</option> 1.73 + <option id="option1d" value="3">3</option> 1.74 + </select> 1.75 + <select name="select2" id="select2"> 1.76 + <option id="option2a" class="emptyopt" value="">Nothing</option> 1.77 + <option id="option2b" value="1">1</option> 1.78 + <option id="option2c" value="2">2</option> 1.79 + <option id="option2d" selected="selected" value="3">3</option> 1.80 + </select> 1.81 + <select name="select3" id="select3" multiple="multiple"> 1.82 + <option id="option3a" class="emptyopt" value="">Nothing</option> 1.83 + <option id="option3b" selected="selected" value="1">1</option> 1.84 + <option id="option3c" selected="selected" value="2">2</option> 1.85 + <option id="option3d" value="3">3</option> 1.86 + </select> 1.87 + 1.88 + <object id="object1" codebase="stupid"> 1.89 + <param name="p1" value="x1" /> 1.90 + <param name="p2" value="x2" /> 1.91 + </object> 1.92 + 1.93 + <span id="台北Táiběi"></span> 1.94 + <span id="台北" lang="中文"></span> 1.95 + <span id="utf8class1" class="台北Táiběi 台北"></span> 1.96 + <span id="utf8class2" class="台北"></span> 1.97 + <span id="foo:bar" class="foo:bar"></span> 1.98 + <span id="test.foo[5]bar" class="test.foo[5]bar"></span> 1.99 + 1.100 + <foo_bar id="foobar">test element</foo_bar> 1.101 + </form> 1.102 + <b id="floatTest">Float test.</b> 1.103 + <iframe id="iframe" name="iframe"></iframe> 1.104 + <form id="lengthtest"> 1.105 + <input type="text" id="length" name="test"/> 1.106 + <input type="text" id="idTest" name="id"/> 1.107 + </form> 1.108 + <table id="table"></table> 1.109 + 1.110 + <div id="fx-queue"> 1.111 + <div id="fadein" class='chain test'>fadeIn<div>fadeIn</div></div> 1.112 + <div id="fadeout" class='chain test out'>fadeOut<div>fadeOut</div></div> 1.113 + 1.114 + <div id="show" class='chain test'>show<div>show</div></div> 1.115 + <div id="hide" class='chain test out'>hide<div>hide</div></div> 1.116 + 1.117 + <div id="togglein" class='chain test'>togglein<div>togglein</div></div> 1.118 + <div id="toggleout" class='chain test out'>toggleout<div>toggleout</div></div> 1.119 + 1.120 + 1.121 + <div id="slideup" class='chain test'>slideUp<div>slideUp</div></div> 1.122 + <div id="slidedown" class='chain test out'>slideDown<div>slideDown</div></div> 1.123 + 1.124 + <div id="slidetogglein" class='chain test'>slideToggleIn<div>slideToggleIn</div></div> 1.125 + <div id="slidetoggleout" class='chain test out'>slideToggleOut<div>slideToggleOut</div></div> 1.126 + </div> 1.127 + 1.128 + <div id="fx-tests"></div> 1.129 + 1.130 + <form id="testForm" action="#" method="get"> 1.131 + <textarea name="T3" rows="2" cols="15">? 1.132 +Z</textarea> 1.133 + <input type="hidden" name="H1" value="x" /> 1.134 + <input type="hidden" name="H2" /> 1.135 + <input name="PWD" type="password" value="" /> 1.136 + <input name="T1" type="text" /> 1.137 + <input name="T2" type="text" value="YES" readonly="readonly" /> 1.138 + <input type="checkbox" name="C1" value="1" /> 1.139 + <input type="checkbox" name="C2" /> 1.140 + <input type="radio" name="R1" value="1" /> 1.141 + <input type="radio" name="R1" value="2" /> 1.142 + <input type="text" name="My Name" value="me" /> 1.143 + <input type="reset" name="reset" value="NO" /> 1.144 + <select name="S1"> 1.145 + <option value="abc">ABC</option> 1.146 + <option value="abc">ABC</option> 1.147 + <option value="abc">ABC</option> 1.148 + </select> 1.149 + <select name="S2" multiple="multiple" size="3"> 1.150 + <option value="abc">ABC</option> 1.151 + <option value="abc">ABC</option> 1.152 + <option value="abc">ABC</option> 1.153 + </select> 1.154 + <select name="S3"> 1.155 + <option selected="selected">YES</option> 1.156 + </select> 1.157 + <select name="S4"> 1.158 + <option value="" selected="selected">NO</option> 1.159 + </select> 1.160 + <input type="submit" name="sub1" value="NO" /> 1.161 + <input type="submit" name="sub2" value="NO" /> 1.162 + <input type="image" name="sub3" value="NO" /> 1.163 + <button name="sub4" type="submit" value="NO">NO</button> 1.164 + <input name="D1" type="text" value="NO" disabled="disabled" /> 1.165 + <input type="checkbox" checked="checked" disabled="disabled" name="D2" value="NO" /> 1.166 + <input type="radio" name="D3" value="NO" checked="checked" disabled="disabled" /> 1.167 + <select name="D4" disabled="disabled"> 1.168 + <option selected="selected" value="NO">NO</option> 1.169 + </select> 1.170 + </form> 1.171 + <div id="moretests"> 1.172 + <form> 1.173 + <div id="checkedtest" style="display:none;"> 1.174 + <input type="radio" name="checkedtestradios" checked="checked"/> 1.175 + <input type="radio" name="checkedtestradios" value="on"/> 1.176 + <input type="checkbox" name="checkedtestcheckboxes" checked="checked"/> 1.177 + <input type="checkbox" name="checkedtestcheckboxes" /> 1.178 + </div> 1.179 + </form> 1.180 + <div id="nonnodes"><span>hi</span> there <!-- mon ami --></div> 1.181 + <div id="t2037"> 1.182 + <div><div class="hidden">hidden</div></div> 1.183 + </div> 1.184 + </div> 1.185 + </div> 1.186 + </dl> 1.187 + 1.188 + <ol id="tests"></ol> 1.189 +</body> 1.190 +</html>