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 12257 - Fix onchange example just before 4.3.1.1
Summary: Fix onchange example just before 4.3.1.1
Status: RESOLVED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: LC1 HTML5 spec (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-06 19:03 UTC by Mounir Lamouri
Modified: 2011-08-04 05:15 UTC (History)
5 users (show)

See Also:


Attachments

Description Mounir Lamouri 2011-03-06 19:03:27 UTC
As mentioned by Simon Pieters in the WHATWG mailing list, the example just before 4.3.1.1 doesn't work because in |onchange="calculate(form)"|, |form| is null. This should be changed to |onchange="calculate(document.forms.pricecalce)"| or the change handler should be moved to the fieldset element (where this.form isn't null).
Comment 1 Ian 'Hixie' Hickson 2011-05-06 00:40:13 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.
Comment 2 contributor 2011-05-06 00:41:27 UTC
Checked in as WHATWG revision r6095.
Check-in comment: correct example
http://html5.org/tools/web-apps-tracker?from=6094&to=6095
Comment 3 Michael[tm] Smith 2011-08-04 05:15:49 UTC
mass-move component to LC1