-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Expand file tree
/
Copy pathcolumn-rule-001.html
More file actions
31 lines (31 loc) · 810 Bytes
/
Copy pathcolumn-rule-001.html
File metadata and controls
31 lines (31 loc) · 810 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!DOCTYPE html>
<html class="reftest-wait">
<title>Column rule in scrollable multicol container</title>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-multicol-1/#column-gaps-and-rules">
<link rel="match" href="column-rule-001-ref.html">
<style>
body {
margin: 0;
}
.mc {
columns: 2;
column-gap: 110px;
column-rule: 100px solid;
height: 100px;
overflow: hidden;
}
</style>
<p>There should be <b>two</b> black squares below.</p>
<div id="elm" class="mc">
<div style="height:600px;"></div>
</div>
<script>
elm.scrollLeft = 200;
requestAnimationFrame(()=> {
requestAnimationFrame(()=> {
document.documentElement.classList.remove("reftest-wait");
});
});
</script>
</html>