This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 8373 - <form> in table and the form pointer
Summary: <form> in table and the form pointer
Status: CLOSED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: pre-LC1 HTML5 spec (editor: Ian Hickson) (show other bugs)
Version: unspecified
Hardware: PC All
: P3 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL: http://software.hixie.ch/utilities/js...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-25 12:19 UTC by Henri Sivonen
Modified: 2010-10-04 14:47 UTC (History)
4 users (show)

See Also:


Attachments

Description Henri Sivonen 2009-11-25 12:19:55 UTC
Shouldn't the <form> start tag in 'in table' be ignored if the form pointer is non-null? Shouldn't the <form> element in 'in table' set the form pointer?
Comment 1 Henri Sivonen 2009-12-16 13:38:56 UTC
http://software.hixie.ch/utilities/js/live-dom-viewer/saved/333 shows that the token should be ignored if form pointer is set.
Comment 2 Henri Sivonen 2009-12-16 13:41:20 UTC
http://software.hixie.ch/utilities/js/live-dom-viewer/saved/334 shows that the form pointer must get set.
Comment 3 Ian 'Hixie' Hickson 2010-01-06 11:18:16 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Accepted
Change Description: see diff given below
Rationale: Concurred with reporter's comments.

Please check that what I did with the end tag is also acceptable.
Comment 4 contributor 2010-01-06 11:24:04 UTC
Checked in as WHATWG revision r4522.
Check-in comment: <form> and </form> handling in <table>.
http://html5.org/tools/web-apps-tracker?from=4521&to=4522
Comment 5 Henri Sivonen 2010-01-06 11:53:09 UTC
(In reply to comment #3)
> Please check that what I did with the end tag is also acceptable.

The end tag handling doesn't remove the form element from the stack in this case:
<form><table></form>

Presumably, there's a reason why the element is removed from the stack in the non-table case.

Why shouldn't the end tag case just fall through to the 'in body' mode as part of 'anything else'?
Comment 6 Ian 'Hixie' Hickson 2010-01-06 12:12:32 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Accepted
Change Description: see diff given below
Rationale: Concurred with reporter's comments.

Thanks, I knew I was getting something wrong there.
Comment 7 contributor 2010-01-06 12:15:07 UTC
Checked in as WHATWG revision r4528.
Check-in comment: let in-body handle </form> in table, since that works correctly.
http://html5.org/tools/web-apps-tracker?from=4527&to=4528