1<?xml version="1.0" encoding="UTF-8"?> 2<html xmlns="http://www.w3.org/1999/xhtml"> 3<head> 4 <title>Test that legend is display:block by default when outside of fieldset (Bug 476063)</title> 5</head> 6<body> 7 8<div> 9 <legend style="padding: 0">The legend</legend> 10 The rest of the div. 11</div> 12 13</body> 14</html> 15