diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
commit | 36d22d82aa202bb199967e9512281e9a53db42c9 (patch) | |
tree | 105e8c98ddea1c1e4784a60a5a6410fa416be2de /dom/tests/mochitest/ajax/prototype/test/unit/tmp/selector_test.html | |
parent | Initial commit. (diff) | |
download | firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip |
Adding upstream version 115.7.0esr.upstream/115.7.0esrupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | dom/tests/mochitest/ajax/prototype/test/unit/tmp/selector_test.html | 107 |
1 files changed, 107 insertions, 0 deletions
diff --git a/dom/tests/mochitest/ajax/prototype/test/unit/tmp/selector_test.html b/dom/tests/mochitest/ajax/prototype/test/unit/tmp/selector_test.html new file mode 100644 index 0000000000..84bde55e50 --- /dev/null +++ b/dom/tests/mochitest/ajax/prototype/test/unit/tmp/selector_test.html @@ -0,0 +1,107 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <title>Prototype Unit test file | Selector</title> + <meta http-equiv="content-type" content="text/html; charset=utf-8" /> + <script type="text/javascript" charset="utf-8"> + var eventResults = {}; + var originalElement = window.Element; + </script> + <script src="../../../dist/prototype.js" type="text/javascript"></script> + <script src="../../lib/unittest.js" type="text/javascript"></script> + <link rel="stylesheet" href="../../test.css" type="text/css" /> + + + + + + <script src="../selector_test.js" type="text/javascript"></script> +</head> +<body> +<h1>Prototype Unit test file</h1> +<h2>Selector</h2> + +<!-- This file is programmatically generated. Do not attempt to modify it. Instead, modify --> + +<!-- Log output start --> +<div id="testlog"></div> +<!-- Log output end --> + +<!-- HTML Fixtures start --> +<div id="fixtures" style="display: none"> + <h1 class="title">Some title <span>here</span></h1> + <p id="p" class="first summary"> + <strong id="strong">This</strong> is a short blurb + <a id="link_1" class="first internal" rel="external nofollow" href="#">with a <em id="em2">link</em></a> or + <a id="link_2" class="internal highlight" href="#"><em id="em">two</em></a>. + Or <cite id="with_title" title="hello world!">a citation</cite>. + </p> + <ul id="list"> + <li id="item_1" class="first"><a id="link_3" href="#" class="external"><span id="span">Another link</span></a></li> + <li id="item_2">Some text</li> + <li id="item_3" xml:lang="es-us" class="">Otra cosa</li> + </ul> + + <!-- this form has a field with the name 'id', + therefore its ID property won't be 'troubleForm': --> + <form id="troubleForm"> + <input type="hidden" name="id" id="hidden" /> + <input type="text" name="disabled_text_field" id="disabled_text_field" disabled="disabled" /> + <input type="text" name="enabled_text_field" id="enabled_text_field" /> + <input type="checkbox" name="checkboxes" id="checked_box" checked="checked" value="Checked" /> + <input type="checkbox" name="checkboxes" id="unchecked_box" value="Unchecked"/> + <input type="radio" name="radiobuttons" id="checked_radio" checked="checked" value="Checked" /> + <input type="radio" name="radiobuttons" id="unchecked_radio" value="Unchecked" /> + </form> + + <form id="troubleForm2"> + <input type="checkbox" name="brackets[5][]" id="chk_1" checked="checked" value="1" /> + <input type="checkbox" name="brackets[5][]" id="chk_2" value="2" /> + </form> + + <div id="level1"> + <span id="level2_1"> + <span id="level3_1"></span> + <!-- This comment should be ignored by the adjacent selector --> + <span id="level3_2"></span> + </span> + <span id="level2_2"> + <em id="level_only_child"> + </em> + </span> + <div id="level2_3"></div> + </div> <!-- #level1 --> + + <div id="dupContainer"> + <span id="dupL1" class="span_foo span_bar"> + <span id="dupL2"> + <span id="dupL3"> + <span id="dupL4"> + <span id="dupL5"></span> + </span> + </span> + </span> + </span> + </div> <!-- #dupContainer --> + + <div id="grandfather"> grandfather + <div id="father" class="brothers men"> father + <div id="son"> son </div> + </div> + <div id="uncle" class="brothers men"> uncle </div> + </div> + + <form id="commaParent" title="commas,are,good"> + <input type="hidden" id="commaChild" name="foo" value="#commaOne,#commaTwo" /> + <input type="hidden" id="commaTwo" name="foo2" value="oops" /> + </form> + <div id="counted_container"><div class="is_counted"></div></div> +</div> + +<!-- HTML Fixtures end --> +</body> +</html> +<script type="text/javascript" charset="utf-8"> + eventResults.endOfDocument = true; +</script> |