blob: 5a80c4a672212a7d8e4c04b623b73ee6438508fc [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script>
if (window.testRunner)
testRunner.waitUntilDone();
function done()
{
if (window.testRunner)
testRunner.notifyDone();
}
</script>
</head>
<body style="margin: 0px">
<div style="background-color: green; width: 100px; height: 100px"></div>
<p>This tests ensures that themed scrollbars are clipped to their iframe. You should see a green box above.</p>
<iframe style="position: absolute; top: 100px; left: 100px;" width="1" height="1" srcdoc="
<html><head><style>
html,body {width:200px; height:100px;}
::-webkit-scrollbar {height: 1px; width: 1px;}
::-webkit-scrollbar-corner {background-color: red;}
</style></head></html>" onload="done()"></iframe>
</body>
</html>