~ubuntu-branches/ubuntu/wily/ruby-xpath/wily-proposed

« back to all changes in this revision

Viewing changes to spec/fixtures/stuff.html

  • Committer: Package Import Robot
  • Author(s): Markus Tornow
  • Date: 2012-12-08 22:57:18 UTC
  • Revision ID: package-import@ubuntu.com-20121208225718-6n9jpw8w8la9x2hr
Tags: upstream-1.0.0
ImportĀ upstreamĀ versionĀ 1.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<h1>This is a test</h1>
 
2
 
 
3
<p id="first">
 
4
  Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
 
5
  tempor incididunt ut <a href="/with_simple_html" title="awesome title" class="simple">labore</a>
 
6
  et dolore magna aliqua. Ut enim ad minim veniam,
 
7
  quis nostrud exercitation <a href="/foo" id="foo">ullamco</a> laboris nisi
 
8
  ut aliquip ex ea commodo consequat.
 
9
  <a href="/with_simple_html"><img src="http://www.foobar.sun/dummy_image.jpg" width="20" height="20" alt="awesome image" /></a>
 
10
</p>
 
11
 
 
12
<p id="second">
 
13
  Duis aute irure dolor in reprehenderit in voluptate velit esse cillum
 
14
  dolore eu fugiat <a href="/redirect" id="red">Redirect</a> pariatur. Excepteur sint occaecat cupidatat non proident,
 
15
  sunt in culpa qui officia
 
16
  text   with
 
17
  whitespace
 
18
  id est laborum.
 
19
</p>
 
20
 
 
21
<p>
 
22
  <input type="text" id="test_field" value="monkey"/>
 
23
  <textarea>banana</textarea>
 
24
  <a href="/redirect_back">BackToMyself</a>
 
25
  <a title="twas a fine link" href="/redirect">A link came first</a>
 
26
  <a title="a fine link" href="/with_simple_html">A link</a>
 
27
  <a title="a fine link with data method" data-method="delete" href="/delete">A link with data-method</a>
 
28
  <a>No Href</a>
 
29
  <a href="">Blank Href</a>
 
30
  <a href="#">Blank Anchor</a>
 
31
  <a href="#anchor">Anchor</a>
 
32
  <a href="/with_simple_html#anchor">Anchor on different page</a>
 
33
  <a href="/with_html#anchor">Anchor on same page</a>
 
34
  <input type="text" value="" id="test_field">
 
35
  <input type="text" checked="checked" id="checked_field">
 
36
  <a href="/redirect"><img src="http://www.foobar.sun/dummy_image.jpg" width="20" height="20" alt="very fine image" /></a>
 
37
  <a href="/with_simple_html"><img src="http://www.foobar.sun/dummy_image.jpg" width="20" height="20" alt="fine image" /></a>
 
38
</p>
 
39
 
 
40
<div id="hidden" style="display: none;">
 
41
  <div id="hidden_via_ancestor">Inside element with hidden ancestor</div>
 
42
  <a href="/with_simple_html" title="awesome title" class="simple">hidden link</a>
 
43
</div>
 
44
 
 
45
<div>
 
46
  <dl>
 
47
    <dt>Coffee</dt>
 
48
    <dd id="latte" data="with-id">black hot drink</dd>
 
49
 
 
50
    <dt>Milk</dt>
 
51
    <dd data="with-dt">white cold drink</dd>
 
52
  </dl>
 
53
</div>
 
54