Closed Bug 10434 Opened 25 years ago Closed 23 years ago

legend.form is always null

Categories

(Core :: DOM: Core & HTML, defect, P2)

x86
Linux
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: phillip, Assigned: pollmann)

References

Details

(Keywords: testcase, Whiteboard: [PDT-]fix attached, awaiting review)

Attachments

(2 files)

Overview Description:
	legend does not know which form it belongs to (throught the dom)


Steps to Reproduce:
	1) load the attatchment.
	2) read what gets written below the fieldset.

Actual Results:

	This text appears:
		myform.id == myform
		mylegend.form == null


Expected Results:

	This text should appear:
		myform.id == myform
		mylegend.form == myform
		mylegend.form.id == myform

Build Date & Platform:
	1999-07-23-08 build on RedHat 5.2 (Checked Viewer & Apprunner)

Platforms NOT Tested:
	Win32, Mac - because i do not have access to these platforms today.
	since it's a dom bug (or a parser bug), i'm pretty sure it's cross
	platform.
QA Contact: gerardok → phillip
changing QA contact. will add attatchment shortly.
Whiteboard: [TESTCASE]
Attached testcase verified. Malfunctions on Win98 19990816 build.
Does this need to get fixed for beta?
HTML DOM bugs are M11/P2 for Vidur.
Blocks: 16654
Target Milestone: M11 → M12
Moving to M12.
Moving off M12 radar for the time being. One or more might get back once I get a
chance to really look at them.
QA Contact: phillip → gerardok
In an attempt to get my bug list in order again, marking all the bugs I have
currently as ASSIGNED.
Whiteboard: [TESTCASE] → [TESTCASE] fix attached, awaiting review
I have attached the diffs for a fix to this bug.
The problem was that the legend content object did not implement nsIFormControl,
and the content sink did not call SetForm on legend content nodes.

I am submitting a secondary bug against eric to double-check all form elements.

Note, there are still problems laying out the test case.  These should be
submitted as separate bugs as well.
See also:
   bug 11537 Value of wallet.Server pref is blank until clicked on
   bug 18357 Legend align does not work in Japanese
   bug 21638 {css1} Cannot style FIELDSET element outside FORM elements
Assignee: vidur → pollmann
Status: ASSIGNED → NEW
Target Milestone: M13
Passing this one along to pollmann per our conversation.
Bulk moving [testcase] code to new testcase keyword. Sorry for the spam!
Keywords: testcase
eric: if you're still waiting for a code review, you can give it a r=buster 
since I authored the patch.  If you agree it's the right fix, that's two of us 
(I guess really you'd be reviewing my fix, but it's best if you own this bug 
for obvious reasons.)  Get it in for M14?
Yup, I'll get it in for M14, thanks for the patch!  :)
Status: NEW → ASSIGNED
Target Milestone: M14
Keywords: patch
Whiteboard: [TESTCASE] fix attached, awaiting review → fix attached, awaiting review
Keywords: beta1
but check it in if you have the fix
Whiteboard: fix attached, awaiting review → [PDT-]fix attached, awaiting review
Checked in.  Thanks for your excellent fix, Steve!  (Sorry this took so long)
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Mass update of qa contact
QA Contact: gerardok → janc
Component: DOM Level 1 → DOM HTML
QA contact Update
QA Contact: janc → desale
Updating QA contact to Shivakiran Tummala.
QA Contact: desale → stummala
tested for the testcase ...looks fine
Status: RESOLVED → VERIFIED
does not work on windows 2000 for the build 2001-06-07-13-0.9.1
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
Sivakiran could you test this again? Using win2k build 2001091203 I see the
correct behavior:
myform.id == myform
mylegend.form == [object HTMLFormElement]
mylegend.form.id == myform
Thanks.
verified linux 092704
Status: REOPENED → RESOLVED
Closed: 25 years ago23 years ago
Keywords: vtrunk
Resolution: --- → FIXED
verified on win2k 2001-10-17-18
verified fixed, marking as verified
Status: RESOLVED → VERIFIED
Component: DOM: HTML → DOM: Core & HTML
QA Contact: stummala → general
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: