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

19 строки
266 B
HTML

<!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>