summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-view-transitions/content-smaller-than-box-size-ref.html
blob: 381a311cc4d76e93b04d11f4c0d5faa64bcf8f7f (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: element with content less than box size (ref)</title>
<link rel="help" href="https://github.com/WICG/view-transitions">
<link rel="author" href="mailto:khushalsagar@chromium.org">

<style>
#target {
  width: 100px;
  height: 100px;
}
#inner {
  width: 10px;
  height: 10px;
  background: blue;
  position: relative;
  top: 10px;
  left: 10px;
}
</style>

<div id=target>
  <div id=inner></div>
</div>