summaryrefslogtreecommitdiffstats
path: root/dom/imptests/testharness.css
blob: e2ed5a043f96aaea310a15100a0dec004f2cc80a (plain)
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
html {
    font-family:DejaVu Sans, Bitstream Vera Sans, Arial, Sans;
}

#log .warning,
#log .warning a {
  color: black;
  background: yellow;
}

#log .error,
#log .error a {
  color: white;
  background: red;
}

section#summary {
    margin-bottom:1em;
}

table#results {
    border-collapse:collapse;
    table-layout:fixed;
    width:100%;
}

table#results th:first-child,
table#results td:first-child {
    width:4em;
}

table#results th:last-child,
table#results td:last-child {
    width:50%;
}

table#results.assertions th:last-child,
table#results.assertions td:last-child {
    width:35%;
}

table#results th {
    padding:0;
    padding-bottom:0.5em;
    border-bottom:medium solid black;
}

table#results td {
    padding:1em;
    padding-bottom:0.5em;
    border-bottom:thin solid black;
}

tr.pass > td:first-child {
    color:green;
}

tr.fail > td:first-child {
    color:red;
}

tr.timeout > td:first-child {
    color:red;
}

tr.notrun > td:first-child {
    color:blue;
}

.pass > td:first-child, .fail > td:first-child, .timeout > td:first-child, .notrun > td:first-child {
    font-variant:small-caps;
}

table#results span {
    display:block;
}

table#results span.expected {
    font-family:DejaVu Sans Mono, Bitstream Vera Sans Mono, Monospace;
    white-space:pre;
}

table#results span.actual {
    font-family:DejaVu Sans Mono, Bitstream Vera Sans Mono, Monospace;
    white-space:pre;
}

span.ok {
    color:green;
}

tr.error {
    color:red;
}

span.timeout {
    color:red;
}

span.ok, span.timeout, span.error {
    font-variant:small-caps;
}