| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" |
| "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
| <html xmlns="http://www.w3.org/1999/xhtml"> |
| <head> |
| <title>multicol | break-inside: avoid-column</title> |
| <link rel="author" title="Opera Software ASA" href="http://www.opera.com/"/> |
| <link rel="help" href="http://www.w3.org/TR/css3-multicol/#column-breaks"/> |
| <link rel="match" href="multicol-br-inside-avoidcolumn-ref.xht"/> |
| <meta name="flags" content=""/> |
| <style type="text/css"><![CDATA[ |
| html { |
| width: 800px; |
| background: white; |
| } |
| body { |
| background: black; |
| column-count: 3; |
| column-gap: 0; |
| column-fill: auto; |
| height: 300px; |
| } |
| h1 { |
| column-span: all; |
| color: white; |
| } |
| div { background: red; |
| height: 150px; |
| break-inside: avoid-column; |
| } |
| span { |
| float: left; |
| } |
| ]]></style> |
| </head> |
| <body> |
| <h1>You should not see the word FAIL</h1> |
| |
| <div> |
| <span>FAIL</span> |
| </div> |
| |
| <div> |
| <span>FAIL</span> |
| </div> |
| |
| <div> |
| <span>FAIL</span> |
| </div> |
| |
| </body> |
| </html> |