Closed Bug 213445 Opened 22 years ago Closed 22 years ago

XSLT form elements radio button - html/xml pages don't match

Categories

(Core :: Layout: Form Controls, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: rnorberg, Assigned: sicking)

Details

Attachments

(5 files)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 XSLT 1.4 Test rendering of form elements Reproducible: Always Steps to Reproduce: Steps to Reproduce: 1.open browser 2.open forms.html in one tab 3.open forms.xml in another tab 4.compare the two tabs Actual Results: #2 radio button directly under text "Unchecked checkbox" doesn't match : it is "checked" on the html page it is "unchecked" on the xml page Expected Results: html page and output of the xml page should match pixel for pixel
Attached file xslt form testcase
Attached file xslt form testcase
Attachment #128272 - Attachment mime type: text/html → text/xml
Attached file stylesheet
You must download the files to your local machine before testing. Download forms.html, forms.xml, and indentity.xsl to c:\temp. The forms.xxx files need the stylesheet - identity.xsl. Then open the forms.xxx files in your mozilla browser.
The problem is that having two different forms with radiogroups of same name confuses the code. This isn't XSLT specific but also happens in XHTML. Testcase comming up
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attached patch patch v1Splinter Review
This patch makes us treat not having a parent as not being in the document. Basically it makes us deal with the case of mDocument being set and mParent being null, which only happens during parsing.
Giving to sicking since he seems to have been working on this.
Assignee: peterv → bugmail
Component: XSLT → Layout: Form Controls
Attachment #128287 - Flags: review?(john) → review?(bryner)
Attachment #128287 - Flags: review?(bryner) → review+
Status: NEW → ASSIGNED
Comment on attachment 128287 [details] [diff] [review] patch v1 sr=jst
Attachment #128287 - Flags: superreview?(jst) → superreview+
Checked in, thanks for reviews
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: