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 13463 - Document API changes from DOM2HTML
Summary: Document API changes from DOM2HTML
Status: RESOLVED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML5 differences from HTML4 (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 major
Target Milestone: ---
Assignee: Simon Pieters
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-30 10:44 UTC by Christopher Yeleighton
Modified: 2012-03-06 11:48 UTC (History)
4 users (show)

See Also:


Attachments

Description Christopher Yeleighton 2011-07-30 10:44:11 UTC
FIELDSET controls are not form control elements in HTML 4 [1] and therefore do not constitute FORM elements in DOM Level 2 [2] but they do in HTML 5 [3].  That causes scripts with hardwired numeric indices to break.

Hardwired numeric indices are indispensable to express a continuous range of controls (e.g. to enable all controls in a FIELDSET).  This is a serious incompatibility and it is not mentioned.

[1] <URL: http://www.w3.org/TR/1999/REC-html401-19991224/interact/forms.html#h-17.2.1 >
[2] <URL: http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-40002357 >
[3] <URL: http://www.w3.org/TR/html5/forms.html#category-listed >
Comment 1 Simon Pieters 2012-03-02 13:02:39 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: Rejected
Change Description: no spec change
Rationale: This is just one out of many incompatibilities with DOM 2 HTML. I think this particular instance is minor compared to others and is not worth pointing out.
Comment 2 Christopher Yeleighton 2012-03-02 16:10:33 UTC
(In reply to comment #1)
> Rationale: This is just one out of many incompatibilities with DOM 2 HTML. I
> think this particular instance is minor compared to others and is not worth
> pointing out.

I think this particular instance is major, maybe not as compared to others, but as applied to writing event handlers, and it should be documented.
Comment 3 Simon Pieters 2012-03-05 15:45:44 UTC
OK, I'll add a section discussing API changes.
Comment 4 Simon Pieters 2012-03-06 11:48:15 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: http://dev.w3.org/cvsweb/html5/html4-differences/Overview.src.html.diff?r1=1.157;r2=1.159
Rationale: Concurred with reporter's comments