Closed Bug 6888 Opened 26 years ago Closed 26 years ago

extra padding on fieldset with a legend

Categories

(Core :: Layout, defect, P3)

x86
Linux
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: kr, Assigned: eric)

Details

There appears to be approximately 2em worth of extra padding (or what appears to be padding) at the bottom of every <fieldset> that has a <legend>, no matter what the style rules for the element are. View the following code in viewer for an example. <html><head><title>padding test</title> <style> fieldset { padding: 0px; } </style> </head><body><form> <fieldset><legend>foo</legend> <div>bar</div> </fieldset> </form></body></html> The extra padding is not there when the <legend> is absent.
Assignee: rickg → karnaze
The document is well formed, and the problem looks like its in your code.
Assignee: karnaze → evaughan
Reassigning to Eric.
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
This now works. I also added a fieldset test page at: resource:/res/samples/fieldsets.html -E
Status: RESOLVED → VERIFIED
Fixed in June 2 Build.
You need to log in before you can comment on or make changes to this bug.