Closed Bug 109373 Opened 24 years ago Closed 24 years ago

document.forms, document.formName have no properties in XHTML as XML

Categories

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

defect

Tracking

()

VERIFIED DUPLICATE of bug 111514
mozilla0.9.8

People

(Reporter: chrispetersen, Assigned: hjtoi-bugzilla)

Details

(Keywords: xhtml)

Attachments

(2 files, 1 obsolete file)

Build: 2001-11-09-08 Platform: All Expected Results:Form submission should work. The data which is entered in the text box gets appended to the url. This is what happens in a HTML test case. What I got: In the XHTML document, the data which is entered in the text box doesn't get appended to the url. Steps to reproduce: 1) Load the HTML test case called "form_object.html" 2) Enter data in the text box and click the done button. 3) The data get appended to the url. 4) Load the XHTML test case called "form_object.xml" 5) Complete step 2. 6) Notice the url remains the same.
Attached file Form submit test case in XHTML (obsolete) —
Added keyword xhtml
Keywords: xhtml
Keywords: dataloss
This is blocking our automation of tests.
Priority: -- → P1
Target Milestone: --- → mozilla0.9.8
Fixed validation errors in this testcase.
Attachment #57258 - Attachment is obsolete: true
The revised testcase uses document.forms, which is closer to the recommendations of the Document Object Model. Changing the input type to "submit" submits the form. This is probably related to bug 111514, which I just filed. Reducing severity to major and removing dataloss keyword; this has nothing to do with form submission or XML, but with DOM HTML.
Assignee: heikki → jst
Severity: critical → major
Component: XML → DOM HTML
Keywords: dataloss
QA Contact: petersen → stummala
Summary: Form submission through JS isn't functional in XHTML → document.forms, document.formName have no properties in XHTML as XML
After a discussion in #mozillazine (slap on the wrist, shame on me), reassigning back to heikki, with QA to match. Don't want to ruffle any feathers, and priority, milestone were set by heikki. Sorry for the spam.
Assignee: jst → heikki
QA Contact: stummala → petersen
Depends on: 111536
*** This bug has been marked as a duplicate of 111514 ***
Status: NEW → RESOLVED
Closed: 24 years ago
No longer depends on: 111536
Resolution: --- → DUPLICATE
verified dupe
Status: RESOLVED → VERIFIED
I just filed bug 340017, "document.formName doesn't work in XHTML", since it (still?) doesn't work for me.
Component: DOM: HTML → DOM: Core & HTML
QA Contact: chrispetersen → general
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: