File: query_test_dom.html

package info (click to toggle)
aseba-plugin-blockly 20180211%2Bgit-2
  • links: PTS
  • area: non-free
  • in suites: buster
  • size: 64,472 kB
  • sloc: xml: 7,976; python: 2,314; sh: 261; lisp: 24; makefile: 10
file content (48 lines) | stat: -rw-r--r-- 1,230 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<!--
Copyright 2005-2008, The Dojo Foundation
Modifications Copyright 2008 The Closure Library Authors. All Rights Reserved.
All Rights Reserved
-->
<h1>testing goog.dom.query()</h1>
<div id="t">
  <h3>h3 <span>span</span> endh3 </h3>
  <!-- comment to throw things off -->
  <div class="foo bar" id="_foo">
    <h3>h3</h3>
    <span id="foo"></span>
    <span></span>
  </div>
  <h3>h3</h3>
  <h3 class="baz" title="thud">h3</h3>
  <span class="foobar baz foo"></span>
  <span foo="bar"></span>
  <span foo="baz bar thud"></span>
  <!-- FIXME: should foo="bar-baz-thud" match? [foo$=thud] ??? -->
  <span foo="bar-baz-thudish" id="silly:id::with:colons"></span>
  <div id="container">
    <div id="child1" qux="true"></div>
    <div id="child2"></div>
    <div id="child3" qux="true"></div>
  </div>
  <div qux="true"></div>
  <input id="notbug" name="bug" type="hidden" value="failed">
  <input id="bug" type="hidden" value="passed">
</div>

<div class="myupperclass">
  <span class="myclass">
    <input id="myid1">
  </span>
  <span class="myclass">
    <input id="myid2">
  </span>
</div>

<iframe name=ifr></iframe>
<div id=iframe-test>
  <div id=if1>
    <div class=if2>
      <div id=if3></div>
    </div>
  </div>
</div>