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)
Tracking
()
VERIFIED
FIXED
M7
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
Comment 2•25 years ago
|
||
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
(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!
Updated•25 years ago
|
Assignee: trudelle → evaughan
Comment 9•25 years ago
|
||
Reassigning to Eric, who is the new fieldset owner.
Assignee | ||
Updated•25 years ago
|
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 10•25 years ago
|
||
There is now a test case in samples called fieldsets.html that demonstates most
of these examples. They should all work now.
Comment 11•25 years ago
|
||
i do not find fieldsets.html in resource:/res/samples. where is it hiding?
Comment 12•25 years ago
|
||
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.
Comment 13•25 years ago
|
||
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
Comment 14•25 years ago
|
||
QA Contact massive update.
Comment 15•24 years ago
|
||
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 → ---
Comment 16•24 years ago
|
||
Comment 17•24 years ago
|
||
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>.
Comment 18•24 years ago
|
||
changing resolution back to fixed. jrgm says this last testcase is invalid.
Status: REOPENED → RESOLVED
Closed: 25 years ago → 24 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•