summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-backgrounds/inset-box-shadow-scroll-ref.html
blob: 55be941bfc35e8d064e811335242fd06dc28da67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!DOCTYPE html>
<style>
#target {
  width: 220px;
  height: 120px;
  overflow: scroll;
}
#inner {
  padding: 10px;
  box-shadow: 10px 10px green inset;
  height: 120px;
}
</style>
<div id="target">
  <div id="inner">
    Passes if green inset shadow is visible.
  </div>
</div>