summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-view-transitions/new-content-container-writing-modes-ref.html
blob: 161e3876ac4379fd2e420e50ba4e20e9f63d4981 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<title>View transitions: container of shared element writing-modes (ref)</title>
<link rel="help" href="https://drafts.csswg.org/css-view-transitions-1/">
<link rel="author" href="mailto:vmpstr@chromium.org">

<style>
.tb { writing-mode: horizontal-tb; }
.lr { writing-mode: vertical-lr; }
.rl { writing-mode: vertical-rl; }
.shared {
  margin: 2px;
  width: 100px;
  height: 50px;
  background: green;
  contain: paint;
  border: 1px solid black;
}
html { background: lightpink; }
</style>

<div class=tb><div id=one class=shared>T</div></div>
<div class=lr><div id=two class=shared>T</div></div>
<div class=rl><div id=three class=shared>T</div></div>