Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-break/table/dynamic-caption-child-change-001.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div style="columns:2; column-fill:auto; height:500px;">
<div style="display:table-caption; overflow:hidden;">
<span>
<div style="display:inline-block; width:100px; height:100px; background:red;">
<div id="target" style="width:0px; height:100px; background:green;"></div>
</div>
</span>
</div>
</div>
<script>
document.body.offsetTop;
target.style.width = "100px";
</script>