summaryrefslogtreecommitdiffstats
path: root/layout/reftests/box-shadow/overflow-not-scrollable-1-ref.html
blob: 89906bb1c0c3e5491fa1600c692a4e87a817aa4a (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: hidden;
  font-size: 50px;
}
span {
  box-shadow: 210px 210px 2px gray;

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

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