Closed Bug 6452 Opened 25 years ago Closed 24 years ago

HTML 4 FIELDSET (and LEGEND) display broken

Categories

(Core :: Layout: Form Controls, defect, P3)

x86
Other
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: german, Assigned: eric)

Details

(Whiteboard: [8.13.1999] reporter to verify)

Attachments

(5 files)

Fieldset do not seem to display right. In XUL a 100% wide fieldset is infinitely
long.
In HTML the legend does not display inside the fieldset border, but instead
below. Sometimes the fieldset broder shows up sometimes it does not. I'll attach
three test cases, one HTML inside XUL, and the two other just raw HTML, one's
inside a body the other inside a form.
We aboslutely need this working properly for labeled group boxes in dialogs.
+ G
Our fieldset's look like Microsoft's. No spec that I am aware of says how they
are supposed to look. The top border of the fieldset intersects the legend's
bounding box (not counting its veritcal margins) right smack in the middle. The
last time I looked at test8 in the viewer, this is the way it looked. If the
bug's point is that it doesn't look this way any more in apprunner, ok. But if a
different look is desired, then maybe there should be some discussion, outside
of bugzilla.
Not really. I have captured the Trident (IE5) version of the display of the file
fieldsetInBody.html and fieldsetInForm.html from the earlier enclosure which
does behave correctly, i.e. the legend is middle vertical-aligned with the
border. This should work independently of having to enclose a fieldset in a form
(which is the 'trick' the test8 seems to make it show up right.(attached
earlier)
Oh and it's actually the viewer that exhibits this set of problems, not
apprunner. Also keep in mind the ealrier problem mentioned with having an
endless width when set to 100% rather than the window width when used inside a
XUL file.
+ g
Assignee: karnaze → trudelle
(Assigning to trudelle for determination of exact cause)
1) Fieldset in HTML display the correct width (when set to 100%) but do not
honor the legend being middle vertical0aligned with the top border as a default
2) Fieldset in XUL has infinite width beyond window when width: 100%;
3) Fieldset in XUL with box around it has minimal width even when set to 100%
Attaching a file that will show those three cases in one screenshot!
Assignee: trudelle → evaughan
Reassigning to Eric, who is the new fieldset owner.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
There is now a test case in samples called fieldsets.html that demonstates most
of these examples. They should all work now.
i do not find fieldsets.html in resource:/res/samples. where is it hiding?
Moving all Widget Set bugs, past and present, to new HTML Form Controls
component per request from karnaze.  Widget Set component will be retired
shortly.
Whiteboard: [7.26.1999] reporter to verify
german, i'm having trouble with your testcases. can you please verify?
Whiteboard: [7.26.1999] reporter to verify → [8.13.1999] reporter to verify
QA Contact massive update.
Reopening. 
I am observing the problem with Legend, where <DIV>Find it Fast</DIV> 
is not centered with the border but is displayed inside of the fieldset. I'm 
attaching a cleaned up testcase showing two fieldsets, one with a <DIV> in the 
legend and another with plain text.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attached file New Testcase
Quick note: don't think the most recent testcase is valid -- <legend> is 
defined in HTML4 to only contain inline content, not block content like <DIV>.
changing resolution back to fixed. jrgm says this last testcase is invalid.
Status: REOPENED → RESOLVED
Closed: 25 years ago24 years ago
Resolution: --- → FIXED
Verified Build:2001071604 os:win95
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: