summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-view-transitions/old-root-vertical-writing-mode-ref.html
blob: 2927b468d08d452afc6a66267bf9786a6b00498e (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
<!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>
html { writing-mode: vertical-lr; }
.shared {
  margin: 2px;
  width: 90px;
  height: 50px;
  background: green;
  contain: paint;
}
#two {
  background: lightblue;
  will-change: transform;
}
</style>

<div id=one class=shared>T</div>
<div id=two class=shared></div>