<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Column rule in scrollable multicol container</title> | |
<style> | |
.mc { | |
columns: 2; | |
column-gap: 110px; | |
column-rule: 100px solid; | |
-moz-columns: 2; | |
-moz-column-gap: 110px; | |
-moz-column-rule: 100px solid; | |
-webkit-columns: 2; | |
-webkit-column-gap: 110px; | |
-webkit-column-rule: 100px solid; | |
orphans: 1; | |
widows: 1; | |
height: 100px; | |
overflow: hidden; | |
} | |
</style> | |
<script> | |
if (window.testRunner) | |
testRunner.waitUntilDone(); | |
function foo() { | |
document.getElementById('elm').scrollLeft = 200; | |
if (window.testRunner) | |
testRunner.notifyDone(); | |
} | |
</script> | |
</head> | |
<body onload="foo()"> | |
<p>There should be <b>two</b> black squares below.</p> | |
<div id="elm" class="mc"> | |
<div style="height:600px;background-color:silver"></div> | |
</div> | |
</body> | |
</html> |