Index: LayoutTests/fast/block/basic/fieldset-with-legend.html |
diff --git a/LayoutTests/fast/block/basic/fieldset-with-legend.html b/LayoutTests/fast/block/basic/fieldset-with-legend.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9f8654f5828b798c77593f294859707d6656742c |
--- /dev/null |
+++ b/LayoutTests/fast/block/basic/fieldset-with-legend.html |
@@ -0,0 +1,31 @@ |
+<style> |
+ legend { height: 10px; border: 1px solid blue; } |
+ fieldset { margin-bottom: 10px;border: 2px solid green; } |
+ div.rel { position: relative; height: 100px;border:2px solid red; } |
+ </style> |
+<body> |
+ <div class="rel" style="width: 500px;"> |
+ <fieldset style="position: absolute;margin-left:20px;"> |
+ <legend style="width: 150px;margin-left:10px;margin-right:20px"></legend> |
+ <h1 style="background-color:green;margin:5px">HEADING 1</h1> |
+ </fieldset> |
+ </div> |
+ <div class="rel" style="width: 500px;"> |
+ <fieldset style="position: absolute;margin-left:40px;"> |
+ <legend style="width: 150px;margin-left:10px;margin-right:20px"></legend> |
+ <h1 style="background-color:green;margin:5px">HEADING 1</h1> |
+ </fieldset> |
+ </div> |
+ <div class="rel" style="width: 500px;margin-left :20px;"> |
+ <fieldset style="position: absolute;margin-left:-20px;"> |
+ <legend style="width: 150px;margin-left:10px;margin-right:20px"></legend> |
+ <h1 style="background-color:green;margin:5px">HEADING 1</h1> |
+ </fieldset> |
+ </div> |
+ <div class="rel" style="width: 500px;"> |
+ <fieldset style="position: absolute;width:500px;margin-left:20px;margin-right:20px;"> |
+ <legend style="width: 150px;margin-left:10px;margin-right:20px"></legend> |
+ <h1 style="background-color:green;margin:5px">HEADING 1</h1> |
+ </fieldset> |
+ </div> |
+</body> |