<html>
<head>
	<script>
	    if (window.testRunner) {
	        testRunner.dumpAsText();
	    }
	</script>
</head>
<body>
	<p>
	   This test confirms that <kbd>legend</kbd> element can not be made inline.
	   The next two sentences should be on separate lines.
	</p>
	<form>
		<fieldset>
			<legend style="display:inline">Mary had a little lamb.</legend>
			It was white as snow.
		</fieldset>
	</form>
</body>
</html>
