Add test that legend is display:block by default. (Bug 476063)

This commit is contained in:
L. David Baron 2009-02-04 13:24:18 -08:00
parent 0e1e58e70d
commit f8ebcab1a6
3 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test that legend is display:block by default when outside of fieldset (Bug 476063)</title>
</head>
<body>
<div>
<div>The legend</div>
The rest of the figure.
</div>
</body>
</html>

View File

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test that legend is display:block by default when outside of fieldset (Bug 476063)</title>
</head>
<body>
<figure>
<legend>The legend</legend>
The rest of the figure.
</figure>
</body>
</html>

View File

@ -1039,3 +1039,4 @@ fails == 461512-1.html 461512-1-ref.html # Bug 461512
== 476063-1.html 476063-1-ref.html
== 476063-2.html 476063-2-ref.html
!= 476063-3.html 476063-3-ref.html
== 476063-4.xhtml 476063-4-ref.xhtml