Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-multicol/crashtests/multicol-dynamic-transform-crash.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<link rel="author" title="Koji Ishii" href="mailto:kojii@chromium.org">
<style>
#container {
columns: 2;
column-fill: auto;
background: orange;
height: 50px;
}
#target {
width: 100px;
height: 100px;
background: purple;
position: absolute;
}
.transform {
transform: translate(0, 50px);
}
</style>
<body>
<div id="container">
<div style="position: relative">
<div id="target"></div>
</div>
</div>
<script>
document.body.offsetTop;
target.classList.add('transform');
</script>
</body>