summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-tables/tentative/support/table-tentative.css
blob: 08d65b2b87d67c1f4766555cc3a73e3b83eff7ef (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
/*
Tables-ng test styling.

Usage:

<link rel="stylesheet" type="text/css" href="./support/table-tentative.css">
<p class="testdesc">Short description here
  Analysis
<p class="error">Current disagreements between browsers</p>
*/
main td {
  padding: 0;
}
.error {
  color: #b70000;
}
p {
  margin-top:4px;
  margin-bottom:4px;
}
body {
  counter-reset: testid;
}
.testdesc {
  white-space: pre-line;
  margin-top: 16px;
}
.testdesc:before {
  content: counter(testid) ". ";
  counter-increment: testid;
}
.testdesc:first-line {
  font-family: monospace;
}