Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<html>
<meta charset="utf-8">
<title>CSS Multi-column Layout Test: Test a multi-column container on fieldset works with a column-span:all child</title>
<link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
<link rel="author" title="Mozilla" href="http://www.mozilla.org/">
<link rel="match" href="multicol-span-all-fieldset-001-ref.html">
<meta name="assert" content="This test checks the page is rendered correctly for a simple fieldset multi-column container with a column-span:all child.">
<style>
fieldset {
column-count: 3;
column-rule: 6px solid;
width: 400px;
}
h3 {
column-span: all;
outline: 1px solid blue;
}
</style>
<fieldset>
<legend>Legend</legend>
<div>block1</div><div>block2</div>
<h3>spanner</h3>
<div>block3</div><div>block4</div>
</fieldset>
</html>