summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-display/support/acid.css
blob: 62d1aca2e5147cb849f8a36d616cf7143e9cf055 (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
html, body {
  color: black;
  background-color: white;
  font-size: 16px;
  padding: 0;
  margin: 0;
}

body { color: red; }

.table {
  display: table;
  border-collapse: collapse;
  border: blue solid 1pt;
}

.itable { display: inline-table; }
.caption { display: table-caption; }
.cell {
  display: table-cell;
  border: inherit;
}
.row {
  display: table-row;
  border: green dashed 1pt;
}
.rowg { display: table-row-group; }
.head { display: table-header-group; }
.foot { display: table-footer-group; }
.col { display: table-column; }
.colg { display: table-column-group; }
.flex { display: flex; }
.iflex { display: inline-flex; }
.li { display: list-item; }
.ib { display: inline-block; }
.inline { display: inline; }
.columns { columns: 2; height: 4em; }
.contents {
  display: contents;
  align-items: inherit;
  justify-items:inherit;
}
.c1 { color: lime; }
.c2 { background: blue; color: pink; }
.c3 { color: teal; }
.c4 { color: green; }
.c5 { color: silver; }
.c6 { color: cyan; }
.c7 { color: magenta; }
.c8 { color: yellow; }
.c9 { color: grey; }
.c10{ color: black; }
.b { background: inherit; }

/** This is the only difference between references and non-reference styles */
.ref .c2 { background: transparent; }
.ref .b { background:blue; }
.ref div.contents { display: block; }
.ref span.contents { display: inline; }