Open Bug 362168 Opened 18 years ago Updated 3 years ago

form data isn't submitted if <input type="image" ... /> is nested inside a <tfoot> table element

Categories

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

1.8 Branch
x86
Windows XP
defect

Tracking

()

UNCONFIRMED

People

(Reporter: van-tomas, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1) Gecko/20061010 Firefox/2.0 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1) Gecko/20061010 Firefox/2.0 Hello, I've experienced this problem while designing some html templates for the xt:Commerce shop system. I've designed some semantic tables with <thead>, <tfoot> and <tbody> elements. The <input type="image" ...> is nested inside <tfood> elements. During testing the templates I've noticed, that the form wasn't send properly because some articles/products wasn't deleted from my cart. I've tested the html template in IE 7 and it works. I've also disabled all my firefox extensions in order to guarantee that an extension is causing this problem. Reproducible: Always Steps to Reproduce: 1. create a table which is nested inside a html form, attributes: action, method 2. create thead tfoot tbody (in this order) elements in side this table 3. create <input type="image" ... /> with png image as src file and some more form fields inside tbody element Actual Results: the form wasn't send properly, cart items stay in cart Expected Results: send the id of the cart item which can be removed I have installed a lot of extensions in Firefox but I've disabled them before posting this bug here.
Assignee: nobody → form-submission
Component: General → HTML: Form Submission
Product: Firefox → Core
QA Contact: general → ian
Version: unspecified → 1.8 Branch
Assignee: form-submission → nobody
QA Contact: ian → form-submission
I just encountered this in the newest 5.0, same situation as well, using for item removal from a cart. if using input type=image, FF fails to send the value, just sends a blank string instead. I'm working around it for now, I had a similar issue with IE, and used javascript to update a separate hidden input with the proper item id.
Component: HTML: Form Submission → DOM: Core & HTML
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.