layout/reftests/w3c-css/received/css-multicol/multicol-basic-001.html
author Neerja Pancholi <npancholi@mozilla.com>
Wed, 17 Jan 2018 13:34:12 -0800
changeset 454252 6c200b73f15df4c1038ded120eafda67acf05b21
parent 361227 layout/reftests/w3c-css/received/css-multicol-1/multicol-basic-001.html@90fffe47e10ad9c5c06473dd29739b24348efcb8
child 535228 9c5a51b331c230990ffe63f9f73b57d46c2ac20e
permissions -rw-r--r--
Bug 1430939 - Part2:Rename directories in reftests/w3c/received/ to drop version number. r=dholbert MozReview-Commit-ID: ApxSiEnp7Tx

<!DOCTYPE html>
<html>
<!-- Submitted from TestTWF Paris -->
<head>
	<meta charset="utf-8">
	<title>CSS Test: Multi-column element via -moz-columns: [integer]</title>
	<link rel="author" title="Anselm Hannemann" href="mailto:info@anselm-hannemann.com"/>
	<link rel="author" title="HÃ¥kon Wium Lie" href="mailto:howcome@opera.com"/>
	<link rel="help" href="http://www.w3.org/TR/css3-multicol/#columns"/>
	<link rel="match" href="reference/multicol-basic-ref.html"/>
	<meta name="flags" content="ahem"/>
	<link rel="reviewer" title="Elika J Etemad" href="http://fantasai.inkedblade.net/contact">

<style type="text/css">
@font-face {
  font-family: Ahem;
  src: url("../../../fonts/Ahem.ttf");
}
</style>
	<style type="text/css">
		.multicol-wrapper>*{
			font-family: Ahem;
		}

		div.multicol-wrapper{
			border: thin solid black;
			display: inline-block;
			margin: 1em auto;
			width: 360px;
		}

		.multicol-basic-ref{
			background: yellow;
			width: 360px;
			-moz-columns: 3;
			-moz-column-gap: 0;
			-moz-column-rule: none;
		}

		.multicol-basic-ref-item{
			background: #000;
		}

		.item-1{
			background: purple;
			color: purple;
		}

		.item-2{
			background: orange;
			color: orange;
		}

		.item-3{
			background: blue;
			color: blue;
		}
	</style>
</head>
<body>
<p>Test passes if there are three vertical stripes in the yellow box below: 1st purple, 2nd orange, 3rd blue.</p>
<div class="multicol-wrapper">
	<div class="multicol-basic-ref">
		<span class="multicol-basic-ref-item item-1">XXXX XXXX XXXX XXXX XXXX XXXX XXXX</span>
		<span class="multicol-basic-ref-item item-2">XXXX XXXX XXXX XXXX XXXX XXXX XXXX</span>
		<span class="multicol-basic-ref-item item-3">XXXX XXXX XXXX XXXX XXXX XXXX XXXX</span>
	</div>
</div>
</body>
</html>