gecko-dev/layout/reftests/box-shadow/overflow-not-scrollable-2.html

20 lines
289 B
HTML

<!DOCTYPE HTML>
<style type="text/css">
div {
height: 200px; width: 200px; overflow: auto;
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>