Upstream version 9.37.197.0
[platform/framework/web/crosswalk.git] / src / third_party / webdriver / test_data / simpleTest.html
1 <html>\r
2 <head>\r
3     <title>Hello WebDriver</title>\r
4 </head>\r
5 <body style="" name="body">\r
6 <h1>Heading</h1>\r
7 \r
8 <p id="oneline">A single line of text</p>\r
9 \r
10 <div id="multiline">\r
11     <p>A div containing</p>\r
12     More than one line of text<br/>\r
13 \r
14     <div>and block level elements</div>\r
15 </div>\r
16 \r
17 <span id="span">An inline element</span>\r
18 \r
19 <p id="lotsofspaces">This line has lots\r
20 \r
21     of spaces.\r
22 </p>\r
23 \r
24 <p id="nbsp">This line has a&nbsp;non-breaking space</p>\r
25 \r
26 <p id="nbspandspaces">This line has a &nbsp; non-breaking space and spaces</p>\r
27 \r
28 <p id="multilinenbsp">These lines &nbsp<br />&nbsp have leading and trailing NBSPs&nbsp;&nbsp;</p>\r
29 \r
30 <p id="inline">This <span id="inlinespan">    line has <em>text</em>    </span> within elements that are meant to be displayed\r
31     <!-- not as a block but --> inline</p>\r
32 \r
33 <div id="div-with-pre">\r
34 <p>before pre</p>\r
35 <pre id="preformatted">   This section has a preformatted\r
36     text block    \r
37   split in four lines\r
38          </pre>\r
39 <p>after pre</p>\r
40 </div>\r
41 \r
42 <div id="twoblocks"><p>Some text</p><p>Some more text</p></div>\r
43 \r
44 <div id="nestedblocks">Cheese <div><p>Some text</p><div><p>Some more text</p><p>and also</p></div></div>Brie</div>\r
45 \r
46 <div id="collapsingtext"><span></span><div>Hello, world</div><span></span></div>\r
47 \r
48 <div id="withDocumentWrite">\r
49 <script>\r
50 document.write("with document.write");\r
51 document.write(" and with document.write again");\r
52 </script>\r
53 </div>\r
54 \r
55 <form action="resultPage.html">\r
56     <p>\r
57         <input type="checkbox" id="checkbox1">\r
58         <label id="label1" for="checkbox1">foo<br />bar</label>\r
59     </p>\r
60 </form>\r
61 \r
62 <div id="links">\r
63 <a href="">   link with leading space</a>\r
64 <a href="" id="linkWithTrailingSpace">link with trailing space                  \r
65 </a>\r
66 <a href=""><b>link with formatting tags</b></a>\r
67 <a href="" id="quote">link with " (double quote)</a>\r
68 <a href="" id="squote">link with ' (single quote)</a>\r
69 <a href="" id="backslash">link with \ (backslash)</a>\r
70 </div>\r
71 \r
72 <div style="text-indent:80%"><a href="resultPage.html" id="multilinelink">this link should break<br />on multiple lines</a></div>\r
73 \r
74 <div name="someDiv">Top level</div>\r
75 <div id="containsSomeDiv">\r
76   <div name="someDiv">Nested</div>\r
77 </div>\r
78 \r
79 <table id="wrappingtext">\r
80     <tbody>\r
81         <tr><td style="width: 10px;"><span>beforeSpace</span><span> </span><span>afterSpace</span></td></tr>\r
82     </tbody>\r
83 </table>\r
84 \r
85 <!-- Here comes an invalid <img> tag which has no src attribute ... -->\r
86 <img id="invalidImgTag" />\r
87 \r
88 <img id="validImgTag" src="icon.gif" />\r
89 <a id="validAnchorTag" href="icon.gif">a link to an icon</a>\r
90 \r
91 <span id="simpleJsonText">{a="b", c=1, d=true}</span>\r
92 <span id="complexJsonText">{a="\\b\\\"'\'"}</span>\r
93 \r
94 </body>\r
95 </html>\r