summaryrefslogtreecommitdiffstats
path: root/layout/reftests/box-shadow/overflow-not-scrollable-1.html
blob: 94a4b7fe074abcd761483174ae4e74986dfe42a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!DOCTYPE HTML>
<style type="text/css">

div {
  height: 200px; width: 200px; overflow: auto;
  font-size: 50px;
}
span {
  box-shadow: 210px 210px 2px gray;

  /* work around potential font overflow */
  margin-left: 5px;
}

</style>
<div>
<span>text</span>
</div>