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/remove-transform-descendant-becomes-spanner-remove-spanner-child.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>A transform inside multicol prevents descendants from becoming spanners. If the transform is removed, descendants may become spanners.</title>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<!DOCTYPE html>
<div style="columns:1;">
<div id="ancestor" style="transform:rotate(45deg);">
<div>
<div style="column-span:all; padding-bottom:100px;">
<div id="child"></div>
</div>
</div>
</div>
</div>
<script type="text/javascript">
document.body.offsetTop;
ancestor.style.transform = "none";
document.body.offsetTop;
child.style.display = "none";
</script>