summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-view-transitions/content-smaller-than-box-size-ref.html
blob: 19cd63d142758a0f5e6a30adb59ba4e8164c02e0 (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://drafts.csswg.org/css-view-transitions-1/">
<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>