Closed Bug 227316 Opened 21 years ago Closed 21 years ago

Radio buttons cannot be "checked" if a XHTML-compatible trailing / is used

Categories

(Core :: DOM: HTML Parser, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: david, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031201 Firebird/0.7+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031201 Firebird/0.7+

When using <input type="radio" name="splitLocation" value="convert" 
checked="checked" />, the radio is not checked unless the last (W3C XML /
XHTML-compatible) / is removed.  This makes the browser non-XHTML compatible.

Reproducible: Always

Steps to Reproduce:
1.Create a form with a radio button
2.For the default button, make well-formed with quotes and checked="checked"
3.Add a trailing slash - not checked, remove it - checked.  Magic!

Actual Results:  
No checked radio button.  When submitted, the radio button parameter is not
present.  I got unhappy.

Expected Results:  
Checked the radio button goddammit!

Spider plants grow very fast.
Attached file testcase
That testcase worksforme in a build from last night.  Does it not work for you?
 If it works, please post a testcase showing this bug.
Hmm... both pages workforme with a Dec 2 linux nightly.  Is this bug
Windows-only?  Or Firebird-only, somehow?
They both work for me, on all the variations of Seamonkey to which I currently
have access: Windows 1.4 release; Linux 5th Dec build; MingW 1st Dec build.
Worksforme with a Windows 2003-12-28-17 SeaMonkey build as well.  Sounds like
this is firebird-only.
Assignee: core.layout.form-controls → blake
Component: Layout: Form Controls → General
Product: Browser → Firebird
Version: Trunk → unspecified
WFM on Firebird too. Back to Core. Can we get a much smaller testcase? Does this
work with more recent builds of Firebird? Do we have any prefs that might affect
this? What skin are you using? Do you have any extensions installed? Can you
give us a screenshot of the buggy behaviour?
Assignee: blake → parser
Component: General → HTML: Parser
Product: Firebird → Browser
Version: unspecified → Trunk
If it works with both SeaMonkey and Firebird current builds, resolving so.
Please reopen if this is a problem with a 1.7-track SeaMonkey nightly.
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: