Closed Bug 270071 Opened 20 years ago Closed 16 years ago

Bad handling of Radio Group (and check box groups) if inside "mildly" invalid table

Categories

(Core :: Layout, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: pclemons, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.0.3705; .NET CLR 1.1.4322)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007

Ya, I know it's a bad table.  But not handling the "array" type input elements 
is even worse.  Here's some sample HTML that illustrates the problem:

Reproducible: Always
Steps to Reproduce:
<html>

<body>

<table>
	<FORM>
		Select the last radio button, then watch the selected value 
move after each reload:
		<br>
		<INPUT TYPE="radio" NAME="group1" VALUE="1">Radio 1
		<br>
		<INPUT TYPE="radio" NAME="group1" VALUE="2">Radio 2
		<br>
		<INPUT TYPE="radio" NAME="group1" VALUE="3">Radio 3
		<br>
	</FORM>
</table>

</body>
</html>

Actual Results:  
Radio selection moves

Expected Results:  
Current radio selection stays put
Assignee: bugs → nobody
Component: Form Manager → Layout
Product: Firefox → Browser
QA Contact: firefox.form-manager → core.layout
Summary: Bad handling of Radio Group (and check box groups) if inside "mildly" invalid table → Bad handling of Radio Group (and check box groups) if inside "mildly" invalid table
Version: unspecified → Trunk
Attached file reporter's testcase
I've generalized this to any way that a table may not be 100%.  For example, 
is the form w/i the table or the table w/i the form.  Does the table have all 
of its <tr>s and <td>s and are these formatted properly. Etc.

Also, instead of pressing reload, you might want to try visiting some other 
URL (typed into the address bar).  Then press back, same problem
This is a duplicate.  After the parser fixes up this page, the radios aren't
even inside the form... so things break.

They shouldn't be breaking for radios outside forms, though.  That's the bug
this is a duplicate of.
Whiteboard: DUPEME
This is an automated message, with ID "auto-resolve01".

This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.

While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.

If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.

The latest beta releases can be obtained from:
Firefox:     http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey:   http://www.mozilla.org/projects/seamonkey/
The radio selection stays the same here from any Fx 2.0 to current trunk.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
Whiteboard: DUPEME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: