<!doctype HTML> | |
<div id="target" style="height: 100%; overflow-y:scroll; background-color: yellow; transform: translateZ(0); width: 200px; height: 200px;"> | |
<div style="background: lightgray; width: 200px; height: 200px;"></div> | |
<div style="width: 200px; height: 200px"></div> | |
</div> | |
<script> | |
// Test that scrolling to show the second contained div will show a yellow background (the backround of the scroller), | |
// since the second div has no box decorations. | |
target.scrollTop = 200; | |
</script> |