summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-backgrounds/inset-box-shadow-scroll.html
blob: 7eca4ea544ff76740e13490fb995dfda5705336d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<link rel="help" href="http://www.w3.org/TR/css3-background/#the-box-shadow">
<link rel="match" href="inset-box-shadow-scroll-ref.html"/>
<style>
#target {
  width: 200px;
  height: 100px;
  overflow: scroll;
  background-color: white;
  box-shadow: 10px 10px green inset;
  padding: 10px;
}
#inner {
  height: 120px;
}
</style>
<div id="target">
  <div id="inner">
    Passes if green inset shadow is visible.
  </div>
</div>