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

div {
  height: 200px; width: 200px; overflow: hidden;
  font-size: 50px;
  font-weight: bold;
}
span {
  box-shadow: 100px 100px 30px black;

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

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