summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-break/block-001-wm-vrl-ref.html
blob: 6fb7e7353c7ab73a11c459088d0368f9e96f1484 (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
<!DOCTYPE html>
<link rel="author" title="Mats Palmgren" href="mailto:mats@mozilla.com">
<meta name="flags" content="paged">
<html>
<style>
@page {
  size: 5in 3in;
  margin: 0.5in;
}

html,body {
  color:black; background-color:white; font:20px/1 monospace; padding:0; margin:0;
  writing-mode: vertical-rl;
}
html { block-size: 40vw; }

.b {
  box-sizing: border-box;
  inline-size: 50vh;
  border: 5px solid black;
  border-block-start-color: blue;
  border-inline-start-color: lime;
  margin-inline-start: 20px;
}

.b1 {
  block-size: 100vw;
  border-block-end-style: none;
}

.b2 {
  block-size: 100vw;
  border-block-start-style: none;
  border-block-end-style: none;
}

.b3 {
  block-size: 10vw;
  border-block-start-style: none;
  margin-block-end: -20px;
}
</style>
<body>
  <div class="b b1"></div>
  <div class="b b2"></div>
  <div class="b b3"></div>
</body>
</html>