Fixed bubbling of live events (if an inner element handles an event first - and stops...
[jquery.git] / test / index.html
index 30e955c..2c3545f 100644 (file)
@@ -29,7 +29,7 @@
        <h2 id="userAgent"></h2>
        
        <!-- Test HTML -->
-       <div id="nothiddendiv" style="height:1px;background:white;">
+       <div id="nothiddendiv" style="height:1px;background:white;" class="nothiddendiv">
                <div id="nothiddendivchild"></div>
        </div>
        <!-- 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 -->
@@ -39,7 +39,7 @@
                <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>
                <p id="ap">
                        Here are some links in a normal paragraph: <a id="google" href="http://www.google.com/" title="Google!">Google</a>, 
-                       <a id="groups" href="http://groups.google.com/">Google Groups</a>. 
+                       <a id="groups" href="http://groups.google.com/" class="GROUPS">Google Groups (Link)</a>. 
                        This link has <code><a href="http://smin" id="anchor1">class="blog"</a></code>: 
                        <a href="http://diveintomark.org/" class="blog" hreflang="en" id="mark">diveintomark</a>
 
@@ -54,6 +54,7 @@
                <ul id="firstUL"></ul>
                <ol id="empty"></ol>
                <form id="form" action="formaction">
+                       <label for="action" id="label-for">Action:</label>
                        <input type="text" name="action" value="Test" id="text1" maxlength="30"/>
                        <input type="text" name="text2" value="Test" id="text2" disabled="disabled"/>
                        <input type="radio" name="radio1" id="radio1" value="on"/>
@@ -197,7 +198,7 @@ Z</textarea>
                </div>
                
                <div id="tabindex-tests">
-                       <ol id="listWithTabIndex" tabindex="0">
+                       <ol id="listWithTabIndex" tabindex="5">
                                <li id="foodWithNegativeTabIndex" tabindex="-1">Rice</li>
                                <li id="foodNoTabIndex">Beans</li>
                                <li>Blinis</li>
@@ -208,6 +209,14 @@ Z</textarea>
                        <span>...</span><a href="#" id="linkWithNoTabIndex">Eat lots of food</a><span>...</span> |
                        <span>...</span><a href="#" id="linkWithTabIndex" tabindex="2">Eat a little food</a><span>...</span> |
                        <span>...</span><a href="#" id="linkWithNegativeTabIndex" tabindex="-1">Eat no food</a><span>...</span>
+                       <span>...</span><a id="linkWithNoHrefWithNoTabIndex">Eat a burger</a><span>...</span>
+                       <span>...</span><a id="linkWithNoHrefWithTabIndex" tabindex="1">Eat some funyuns</a><span>...</span>
+                       <span>...</span><a id="linkWithNoHrefWithNegativeTabIndex" tabindex="-1">Eat some funyuns</a><span>...</span>
+               </div>
+               
+               <div id="liveHandlerOrder">
+                       <span id="liveSpan1"><a href="#" id="liveLink1"></a></span>
+                       <span id="liveSpan2"><a href="#" id="liveLink2"></a></span>
                </div>
        </div>
        </dl>