summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-view-transitions/root-style-change-during-animation-ref.html
blob: 964b3b8d7e433836b32c70eae4b55aa93fb00fdd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<html>
<title>Shared transitions: root element style changes during transition</title>
<link rel="help" href="https://github.com/WICG/view-transitions">
<link rel="author" href="mailto:vmpstr@chromium.org">
<style>
#target {
  width: 100px;
  height: 100px;
  contain: paint;
  background: green;
}

body {
  background: grey;
}
</style>

<div id=target></div>