[html5] r6095 - [e] (0) correct example Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=12257

whatwg at whatwg.org whatwg at whatwg.org
Thu May 5 17:41:15 PDT 2011


Author: ianh
Date: 2011-05-05 17:41:14 -0700 (Thu, 05 May 2011)
New Revision: 6095

Modified:
   complete.html
   index
   source
Log:
[e] (0) correct example
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=12257

Modified: complete.html
===================================================================
--- complete.html	2011-05-06 00:38:22 UTC (rev 6094)
+++ complete.html	2011-05-06 00:41:14 UTC (rev 6095)
@@ -16030,12 +16030,12 @@
    form.elements.result.value = price;
  }
 </script>
-<form name="pricecalc" onsubmit="return false">
+<form name="pricecalc" onsubmit="return false" onchange="calculate(this)">
  <fieldset>
   <legend>Work out the price of your car</legend>
   <p>Base cost: £52000.</p>
   <p>Select additional options:</p>
-  <ul onchange="calculate(form)">
+  <ul>
    <li><label><input type=checkbox name=brakes> Ceramic brakes (£1000)</label></li>
    <li><label><input type=checkbox name=radio> Satellite radio (£2500)</label></li>
    <li><label><input type=checkbox name=turbo> Turbo charger (£5000)</label></li>

Modified: index
===================================================================
--- index	2011-05-06 00:38:22 UTC (rev 6094)
+++ index	2011-05-06 00:41:14 UTC (rev 6095)
@@ -16055,12 +16055,12 @@
    form.elements.result.value = price;
  }
 </script>
-<form name="pricecalc" onsubmit="return false">
+<form name="pricecalc" onsubmit="return false" onchange="calculate(this)">
  <fieldset>
   <legend>Work out the price of your car</legend>
   <p>Base cost: £52000.</p>
   <p>Select additional options:</p>
-  <ul onchange="calculate(form)">
+  <ul>
    <li><label><input type=checkbox name=brakes> Ceramic brakes (£1000)</label></li>
    <li><label><input type=checkbox name=radio> Satellite radio (£2500)</label></li>
    <li><label><input type=checkbox name=turbo> Turbo charger (£5000)</label></li>

Modified: source
===================================================================
--- source	2011-05-06 00:38:22 UTC (rev 6094)
+++ source	2011-05-06 00:41:14 UTC (rev 6095)
@@ -17205,12 +17205,12 @@
    form.elements.result.value = price;
  }
 </script>
-<form name="pricecalc" onsubmit="return false">
+<form name="pricecalc" onsubmit="return false" onchange="calculate(this)">
  <fieldset>
   <legend>Work out the price of your car</legend>
   <p>Base cost: £52000.</p>
   <p>Select additional options:</p>
-  <ul onchange="calculate(form)">
+  <ul>
    <li><label><input type=checkbox name=brakes> Ceramic brakes (£1000)</label></li>
    <li><label><input type=checkbox name=radio> Satellite radio (£2500)</label></li>
    <li><label><input type=checkbox name=turbo> Turbo charger (£5000)</label></li>




More information about the Commit-Watchers mailing list