Closed Bug 48318 Opened 24 years ago Closed 21 years ago

[FST]Legend align attributes not working

Categories

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

defect

Tracking

()

RESOLVED WONTFIX
Future

People

(Reporter: bugzillaabuse, Assigned: rods)

References

()

Details

(Keywords: html4, Whiteboard: [HTML4-17.10])

Attachments

(1 file)

From Bugzilla Helper: User-Agent: Mozilla/4.73C-CCK-MCD AOLNSCP (Macintosh; I; PPC) BuildID: 2000-08-07-12 No difference from align = left. Reproducible: Always Steps to Reproduce: 1. Go to aforementioned URL 2. See error. Actual Results: No different than align = left. Expected Results: Should align at the bottom left of the box.
OS: Mac System 9.0 → All
Hardware: Macintosh → All
Summary: Legend align = bottom not working → Legend align = bottom not working
Adding top, left and right attributes to failure list. Expected behavior left: On left side of box, not top left. Expected behavior right: On right side of box, not top right. As an added bonus, the alignment is staying with the rightmost text *in* the box, as opposed to the box itself. Expected behavior top: Centered on top of box. Expected behavior bottom: Center on bottom of box. Not on bottom left as I stated before.
Summary: Legend align = bottom not working → Legend align attributes not working
lorca@netscape.com - can you please attach the testcase to this bug, rather than leaving it on a Netscape-internal server? Thanks :-) Gerv
Test case follows. Again, my apologies:). <html> <head> <TITLE>HTML Functional -- LEGEND - ALIGN=bottom</TITLE> </head> <body> <form action="" method="post"> <fieldset> <legend align="bottom">Teas of India</legend> <input name="toi" type="checkbox" value="Assam"> Assam <input name="toi" type="checkbox" value="Darjeeling"> Darjeeling <input name="toi" type="checkbox" value="Dooars"> Dooars <input name="toi" type="checkbox" value="Nilgiri"> Nilgiri </fieldset> </form> </body> </html>
For other test cases (top, right, left), replace occurences of "bottom" with < top, right, left>.
setting bug status to New
Status: UNCONFIRMED → NEW
Ever confirmed: true
QA Contact: petersen → lorca
Dividing up claytons bugs to triage.
Assignee: clayton → rods
futuring
Target Milestone: --- → Future
Status: NEW → ASSIGNED
Summary: Legend align attributes not working → [FST]Legend align attributes not working
Priority: P3 → P2
Target Milestone: Future → ---
Component: HTML Element → HTML Form Controls
Reassigning QA Contact for all open and unverified bugs previously under Lorca's care to Gerardo as per phone conversation this morning.
QA Contact: lorca → gerardok
sounds like it could be a core layout issue
Target Milestone: --- → Future
Attached file Testcase as seen in report (deleted) —
I've attached Loco's testcase for easy viewing by non-netscapers. Adding html4 keyword since it's not in the html3.2 spec. Mozilla1.0 nomination.
Keywords: html4, mozilla1.0
The severity is closer to 'trivial' severity than 'major'. It's only misaligned text, and align attribute of <legend> is deprecated in HTML 4.0.
Severity: major → trivial
This bug has been presented before under #3590 and #36008 which have both been verified as 'WONTFIX'. Here are the comments made by evaughan@netscape.com in bug #36008: Actually HTML4.0 Deprecated this http://www.w3.org/TR/html4/interact/forms.html#h-17.10 Currently we do what IE does. It looks at left, center, and right. The current CSS spec says left, top, bottom, right. Which doesn't really make sense. And when you say "left" do you mean left top? left bottom? It would have been better for them to just use "align=left|center|right" and valign="top|bottom". So until they staighten it out. We are doing what makes sense. Besides its deprecated anyway. And the CSS values for text-align (which usually maps to align) can only be "left|center|right". Recommend marking this bug as WONTFIX unless the situation has changed.
*** Bug 92986 has been marked as a duplicate of this bug. ***
There's an i18n problem with the legend alignment. When the FIELDSET direction is right-to-left, as in: <DIV dir="rtl"> ...RTL-SCRIPT... <FORM> <FIELDSET> <LEGEND>RTL-SCRIPT</LEGEND> ...RTL-SCRIPT... </FIELDSET> </FORM> </DIV> The legend should be aligned to the right, but Mozilla aligns it to the left. IE indeed aligns it to the right (without the need to use an 'align' attribute or style sheet). When you're writing documents in Hebrew or Arabic you want the legend to appear on the right, not on the left.
I will fix the rtl alignment together with bug 120958.
I fixed the bidi alignment issue and some other alignment glitches.
Priority: P2 → P4
Whiteboard: [HTML4-17.10]
I think I agree with wontfix here. Ian? David? What do you think?
I can't find any browser that supports "bottom". I don't think it would be particularly good UI. It doesn't map to CSS. It's deprecated. WONTFIX it is... (But would we accept a patch if we got one? Cos if so, someone will eventually come along and say "well then it's not really WONTFIX!". Sigh.)
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: