diff options
author | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
---|---|---|
committer | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
commit | 5f8de423f190bbb79a62f804151bc24824fa32d8 (patch) | |
tree | 10027f336435511475e392454359edea8e25895d /dom/base/test/test_bug473162-2.html | |
parent | 49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff) | |
download | UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip |
Add m-esr52 at 52.6.0
Diffstat (limited to 'dom/base/test/test_bug473162-2.html')
-rw-r--r-- | dom/base/test/test_bug473162-2.html | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/dom/base/test/test_bug473162-2.html b/dom/base/test/test_bug473162-2.html new file mode 100644 index 000000000..a62749671 --- /dev/null +++ b/dom/base/test/test_bug473162-2.html @@ -0,0 +1,33 @@ +<!-- NOTE: THIS TEST MUST BE IN QUIRKS MODE --> +<html> +<!-- +https://bugzilla.mozilla.org/show_bug.cgi?id=473162 +--> +<head> + <title>Test for Bug 473162</title> + <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script> + <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/> +</head> +<body> +<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=473162">Mozilla Bug 473162</a> +<p id="display"></p> +<div id="content" style="display: none"> +<span id="TEST" class="TEST"></span> +<span id="test" class="test"></span> +<span id="Test" class="Test"></span> +<span id="tesT" class="tesT"></span> +</div> +<pre id="test"> +<script type="application/javascript"> + +/** Test for Bug 473162 **/ +var nodes = document.getElementsByClassName("test"); +is(nodes.length, 4, "Unexpected length"); +is(nodes[0], $("TEST"), "Unexpected first node"); +is(nodes[1], $("test"), "Unexpected second node"); +is(nodes[2], $("Test"), "Unexpected third node"); +is(nodes[3], $("tesT"), "Unexpected fourth node"); +</script> +</pre> +</body> +</html> |