| <script> |
| if (window.testRunner) |
| testRunner.dumpAsText(); |
| </script> |
| <div tabindex="+4"></div> |
| <div tabindex="-4"></div> |
| <div tabindex="+-4"></div> |
| <div tabindex="-+4"></div> |
| <div tabindex="+04"></div> |
| <div tabindex="-04"></div> |
| <div tabindex="+"></div> |
| <div tabindex="-"></div> |
| <div tabindex=" +4"></div> |
| <div tabindex=" -4"></div> |
| <div tabindex=" +-4"></div> |
| <div tabindex=" -+4"></div> |
| <div tabindex=" +04"></div> |
| <div tabindex=" -04"></div> |
| <div tabindex=" +"></div> |
| <div tabindex=" -"></div> |
| <div tabindex="+4 "></div> |
| <div tabindex="-4 "></div> |
| <div tabindex="+-4 "></div> |
| <div tabindex="-+4 "></div> |
| <div tabindex="+04 "></div> |
| <div tabindex="-04 "></div> |
| <div tabindex="+ "></div> |
| <div tabindex="- "></div> |
| <div tabindex="	+4"></div> |
| <div tabindex="	-4"></div> |
| <div tabindex="	+-4"></div> |
| <div tabindex="	-+4"></div> |
| <div tabindex="	+04"></div> |
| <div tabindex="	-04"></div> |
| <div tabindex="	+"></div> |
| <div tabindex="	-"></div> |
| <div tabindex="+4	"></div> |
| <div tabindex="-4	"></div> |
| <div tabindex="+-4	"></div> |
| <div tabindex="-+4	"></div> |
| <div tabindex="+04	"></div> |
| <div tabindex="-04	"></div> |
| <div tabindex="+	"></div> |
| <div tabindex="-	"></div> |
| <div tabindex=" |
| +4"></div> |
| <div tabindex=" |
| -4"></div> |
| <div tabindex=" |
| +-4"></div> |
| <div tabindex=" |
| -+4"></div> |
| <div tabindex=" |
| +04"></div> |
| <div tabindex=" |
| -04"></div> |
| <div tabindex=" |
| +"></div> |
| <div tabindex=" |
| -"></div> |
| <div tabindex="+4 |
| "></div> |
| <div tabindex="-4 |
| "></div> |
| <div tabindex="+-4 |
| "></div> |
| <div tabindex="-+4 |
| "></div> |
| <div tabindex="+04 |
| "></div> |
| <div tabindex="-04 |
| "></div> |
| <div tabindex="+ |
| "></div> |
| <div tabindex="- |
| "></div> |
| <div tabindex=" +4"></div> |
| <div tabindex=" -4"></div> |
| <div tabindex=" +-4"></div> |
| <div tabindex=" -+4"></div> |
| <div tabindex=" +04"></div> |
| <div tabindex=" -04"></div> |
| <div tabindex=" +"></div> |
| <div tabindex=" -"></div> |
| <div tabindex="+4 "></div> |
| <div tabindex="-4 "></div> |
| <div tabindex="+-4 "></div> |
| <div tabindex="-+4 "></div> |
| <div tabindex="+04 "></div> |
| <div tabindex="-04 "></div> |
| <div tabindex="+ "></div> |
| <div tabindex="- "></div> |
| <div tabindex="+4xx"></div> |
| <div tabindex="-4xx"></div> |
| <div tabindex="+-4xx"></div> |
| <div tabindex="-+4xx"></div> |
| <div tabindex="+04xx"></div> |
| <div tabindex="-04xx"></div> |
| <div tabindex="+xx"></div> |
| <div tabindex="-xx"></div> |
| <div tabindex=+4></div> |
| <div tabindex=-4></div> |
| <div tabindex=+-4></div> |
| <div tabindex=-+4></div> |
| <div tabindex=+04></div> |
| <div tabindex=-04></div> |
| <div tabindex=+></div> |
| <div tabindex=-></div> |
| <div tabindex=+4/></div> |
| <div tabindex=-4/></div> |
| <div tabindex=+-4/></div> |
| <div tabindex=-+4/></div> |
| <div tabindex=+04/></div> |
| <div tabindex=-04/></div> |
| <div tabindex=+/></div> |
| <div tabindex=-/></div> |
| <pre id="result"></pre> |
| <script> |
| function log(msg) { |
| var line = document.createElement('pre'); |
| line.appendChild(document.createTextNode(msg)); |
| document.getElementById('result').appendChild(line); |
| } |
| |
| var divs = document.getElementsByTagName('div'); |
| for (var i = 0; i < divs.length; ++i) { |
| var elmt = divs[i]; |
| log(elmt.outerHTML.replace('\t', '	') + ' => ' + elmt.tabIndex); |
| } |
| </script> |