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

html5/spec Overview.html,1.3716,1.3717

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 05 Feb 2010 23:00:23 +0000
To: public-html-commits@w3.org
Message-Id: <E1NdX9z-0005xA-IA@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv22842

Modified Files:
	Overview.html 
Log Message:
Comment out the onchange='' handler since it's poor practice. (whatwg r4663)

Index: Overview.html
===================================================================
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:00:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 5 February 2010 23:00:34 GMT