~ubuntu-branches/ubuntu/karmic/firebug/karmic

« back to all changes in this revision

Viewing changes to content/firebug/tests/outlines.html

  • Committer: Bazaar Package Importer
  • Author(s): Fabrice Coutadeur
  • Date: 2009-01-08 06:23:15 UTC
  • mfrom: (1.1.2 upstream) (0.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20090108062315-8axszgu22g9a2uyn
Tags: 1.2.1-1ubuntu1
* Merge with Debian unstable (LP: #314962)
* debian/control: 
  - Changed references of Iceweasel to Firefox
  - Changed dependency on iceweasel to firefox | abrowser 
    (also close LP: #272959)
  - Changed binary name to firebug
* debian/rules: Changed tag name from makebuilddir/iceweasel-firebug to
  makebuilddir/firebug::
* Created debian/links, debian/docs and debian/install from debian ones

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0"?>
2
 
 
3
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
 
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
 
 
6
 
<html xmlns="http://www.w3.org/1999/xhtml">
7
 
 
8
 
<head>
9
 
 
10
 
<style type="text/css">
11
 
 
12
 
.highlighterEdge {
13
 
    z-index: 65535;
14
 
    position: absolute;
15
 
    background-color: blue;
16
 
    -moz-opacity: 0.5;
17
 
}
18
 
 
19
 
.highlighted {
20
 
    background-color: yellow;
21
 
}
22
 
 
23
 
</style>
24
 
 
25
 
<script src="../outlines.js"></script>
26
 
 
27
 
<script>
28
 
 
29
 
function $(id) { return document.getElementById(id); }
30
 
 
31
 
function runTests()
32
 
{
33
 
    window.onmouseover = function(event)
34
 
    {
35
 
        var t = event.target.nodeType == 1 ? event.target : event.target.parentNode;
36
 
        highlight(t);
37
 
    }
38
 
}
39
 
    
40
 
</script>
41
 
</head>
42
 
 
43
 
<body onload="runTests()">
44
 
 
45
 
    <div style="margin: 2px; padding: 3px; border: 1px solid gray;">
46
 
        <div>Hello</div>
47
 
        <div id="box1" style="margin: 3px; padding: 4px;">Hello! Blah blah blah<br>blah <span id="box2">woopdee</span> eh.</div>
48
 
    </div>
49
 
 
50
 
    <table cellpadding="4" cellspacing="4">
51
 
        <tr>
52
 
            <td>Uno</td>
53
 
            <td>Dos</td>
54
 
        </tr>
55
 
        <tr>
56
 
            <td>Uno</td>
57
 
            <td id="cell1">Dos</td>
58
 
        </tr>
59
 
    </table>
60
 
    
61
 
</body>
62
 
</html>