summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-writing-modes/wm-propagation-001-ref.html
blob: 2e8df84f21ef494f99f356b056396c7d6d39d940 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<html>
  <meta chartset=utf-8>
  <title>Test Reference</title>
  <link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
<style>
html {
  writing-mode: vertical-rl;
}
body {
  writing-mode: vertical-rl;
  width: 0; height: 0;
}
html::before {
  content: "This text must be vertical.";
}
html::after {
  content: "This text must be horizontal.";
  display: block;
  writing-mode: horizontal-tb;
}
</style>
<body></body>