• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/* Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file.
4 */
5
6#test-harness h1 {
7  counter-reset: suite-count;
8  margin-bottom: 0;
9  margin-top: 0;
10}
11
12#test-harness h1 a {
13  color: black;
14  text-decoration: none;
15}
16
17#stats {
18  margin-bottom: 10px;
19}
20
21#exceptions,
22#messages {
23  display: none;
24}
25
26#exceptions[hasExceptions],
27#messages[hasMessages] {
28  display: block;
29}
30
31#messages {
32  margin-bottom: 20px;
33}
34
35#message-list {
36  color: orange;
37  list-style-type: none;
38  margin: 0;
39  padding: 0;
40}
41
42#message-list h1 {
43  font-size: 1em;
44}
45
46#exception-list {
47  font-family: dejavu sans mono, monospace;
48  font-size: 11px;
49}
50
51#exception-list pre {
52  margin-top: 0;
53}
54
55#individual-tests {
56  margin-bottom: 20px;
57}
58
59.test-result:nth-child(2n),
60.individual-result:nth-child(2n) {
61  background-color: #eee;
62}
63
64.individual-result pre {
65  overflow-y: auto;
66}
67
68.test-result,
69.individual-result {
70  counter-increment: suite-count;
71  padding: 10px 0;
72}
73
74.test-result:before,
75.individual-result:before {
76  content: counter(suite-count) ' -';
77  margin-right: 5px;
78}
79
80span.results {
81  padding-left: 10px;
82}
83
84.pending {
85  color: orange;
86}
87
88.passed {
89  color: darkgreen;
90}
91
92.failed {
93  color: darkred;
94  font-weight: bold;
95}
96
97.exception {
98  color: red;
99  font-weight: bold;
100}
101
102.failure {
103  border: 1px solid grey;
104  border-radius: 5px;
105  padding: 5px;
106}
107