Closed Bug 43771 Opened 24 years ago Closed 23 years ago

Line breaks after LABEL tag?

Categories

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

x86
All
defect

Tracking

()

VERIFIED WORKSFORME
Future

People

(Reporter: pete_a90, Assigned: rods)

References

()

Details

(Keywords: html4, testcase)

Attachments

(4 files)

The <label ...>Search: </label> renders with a line break after it when it's not supposed to (at least I and Internet Explorer think so).
I couldn't get this to happen with a SPAN instead of a LABEL -- so I suspect that this may have something to do with LABEL's special behavior. However, it could still be a more general table problem. Assigning to HTML Form Controls, but cc:ing karnaze.
Assignee: clayton → rods
Status: UNCONFIRMED → NEW
Component: Layout → HTML Form Controls
Ever confirmed: true
QA Contact: petersen → ckritzer
I will need buster's help with this one, sounds like a floater issue to me. This bug has been marked "future" because the original netscape engineer working on this is over-burdened. If you feel this is an error, that you or another known resource will be working on this bug,or if it blocks your work in some way -- please attach your concern to the bug for reconsideration.
Status: NEW → ASSIGNED
Target Milestone: --- → Future
Updating QA contact.
QA Contact: ckritzer → bsharma
Summary: Line breaks after LABEL tag? → [LBL]Line breaks after LABEL tag?
I'll take another look but my guess is that this is a floater problem for buster
Priority: P3 → P1
Target Milestone: Future → ---
Reassigning to copre layout for a look
Assignee: rods → attinasi
Status: ASSIGNED → NEW
Summary: [LBL]Line breaks after LABEL tag? → Line breaks after LABEL tag?
Rod, what did you learn when you looked at this? Why do you suspect it is a floater problem? Does align=right on a TD cause a floater?
If a DIV with align=right has a LABEL in it, the label seems to act like a block. I don't know what is up with the LABEL, but like David mentioned, this does not happen with a simple SPAN. I could see no evidence of any floaters but clearly we are getting two lines. Rod, if you have any knowledge of the LABEL and how it behaves it would be appreciated. This may be a block-issue, but it seems unlikely since the simple SPAN case is no problem.
Rod, this has lots in common with bug 47149 (futured) - Also note the block in forms.css that reads: label { /* our <label> support is badly broken. (b=47149) */ vertical-align: bottom; padding-left: 3px; padding-right: 3px; } sending back to you. My guess is that we will have to work together on this when it rises to the top of the priority stack.
Assignee: attinasi → rods
adding Marc to cc list and futuring until we can figure it out.
Status: NEW → ASSIGNED
Target Milestone: --- → Future
QA Contact Update
QA Contact: bsharma → vladimire
Occurs on Linux too, OS/All. It works fine in quirks mode though (i.e. no line break is appended to the </label>. HTML4 keyword since I cannot find <label> in the 3.2 spec.
Keywords: html4
OS: Windows NT → All
Nominating for mozilla1.0.
Keywords: mozilla1.0
All the testcases workforme on Linux 2001-11-01-21. Is this an issue still on other OS's?
wfm win32 build 2001102903 maybe related to bug 47149 ?
Closing WORKSFORME, today's Linux CVS.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Keywords: testcase
Resolution: --- → WORKSFORME
verifying on 2001-11-19-0.9.4ec
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: