W3C home > Mailing lists > Public > public-html-diffs@w3.org > February 2010

hixie: Comment out the onchange='' handler since it's poor practice. (whatwg r4663)

From: poot <cvsmail@w3.org>
Date: Sat, 6 Feb 2010 08:00:43 +0900 (JST)
To: public-html-diffs@w3.org
Message-Id: <20100205230043.690942BCAB@toro.w3.mag.keio.ac.jp>
hixie: Comment out the onchange='' handler since it's poor practice.
(whatwg r4663)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.3716&r2=1.3717&f=h
http://html5.org/tools/web-apps-tracker?from=4662&to=4663

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.3716
retrieving revision 1.3717
diff -u -d -r1.3716 -r1.3717
--- Overview.html	5 Feb 2010 21:06:37 -0000	1.3716
+++ Overview.html	5 Feb 2010 23:00:19 -0000	1.3717
@@ -35869,9 +35869,9 @@
  &lt;menu type="toolbar"&gt;
   &lt;label for="goto"&gt;Go to...&lt;/label&gt;
   &lt;menu label="Go"&gt;
-   &lt;select id="goto"
+   &lt;select id="goto"<!--
            onchange="if (this.options[this.selectedIndex].value)
-                     window.location = this.options[this.selectedIndex].value"&gt;
+                     window.location = this.options[this.selectedIndex].value"-->&gt;
     &lt;option value="" selected="selected"&gt; Select site: &lt;/option&gt;
     &lt;option value="http://www.apple.com/"&gt; Apple &lt;/option&gt;
     &lt;option value="http://www.mozilla.org/"&gt; Mozilla &lt;/option&gt;
Received on Friday, 5 February 2010 23:01:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 06:14:17 GMT