summaryrefslogtreecommitdiffstats
path: root/layout/reftests/w3c-css/received/css-multicol-1/multicol-br-inside-avoidcolumn-001.xht
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/w3c-css/received/css-multicol-1/multicol-br-inside-avoidcolumn-001.xht')
-rw-r--r--layout/reftests/w3c-css/received/css-multicol-1/multicol-br-inside-avoidcolumn-001.xht51
1 files changed, 51 insertions, 0 deletions
diff --git a/layout/reftests/w3c-css/received/css-multicol-1/multicol-br-inside-avoidcolumn-001.xht b/layout/reftests/w3c-css/received/css-multicol-1/multicol-br-inside-avoidcolumn-001.xht
new file mode 100644
index 000000000..28f8243ec
--- /dev/null
+++ b/layout/reftests/w3c-css/received/css-multicol-1/multicol-br-inside-avoidcolumn-001.xht
@@ -0,0 +1,51 @@
+<!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;
+ -moz-column-count: 3;
+ -moz-column-gap: 0;
+ -moz-column-fill: auto;
+ height: 300px;
+}
+h1 {
+ -moz-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>