summaryrefslogtreecommitdiffstats
path: root/LayoutTests/fast/dom/getElementsByClassName/014.html
blob: 29dff66286f32c7a8012749e35d3a2f2777443b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<html class="a A">
 <head>
  <title>document.getElementsByClassName(): case sensitive (quirks mode)</title>
  <script src="resources/common.js"></script>
 </head>
 <body class="a a">
  <p id="r">FAIL (script did not run)</p>
  <script>
    // We differ from Opera's implementation here.  We are case-insensitive in quirks mode.
    // t(document.getElementsByClassName("A a"), [document.documentElement])
    t(document.getElementsByClassName("A a"), [document.documentElement, document.body])
  </script>
 </body>
</html>