[Bug 12257] New: Fix onchange example just before 4.3.1.1

http://www.w3.org/Bugs/Public/show_bug.cgi?id=12257

           Summary: Fix onchange example just before 4.3.1.1
           Product: HTML WG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: mounir.lamouri@gmail.com
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org, simonp@opera.com


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).

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Sunday, 6 March 2011 19:03:29 UTC