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)
Core
DOM: Core & HTML
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.
| Reporter | ||
Comment 1•24 years ago
|
||
| Reporter | ||
Comment 2•24 years ago
|
||
| Assignee | ||
Updated•24 years ago
|
Priority: -- → P1
Target Milestone: --- → mozilla0.9.8
Comment 5•24 years ago
|
||
Fixed validation errors in this testcase.
Attachment #57258 -
Attachment is obsolete: true
Comment 6•24 years ago
|
||
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
Comment 7•24 years ago
|
||
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
Comment 10•19 years ago
|
||
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.
Description
•