[whatwg] <output> and onforminput

<form>
 <p>
  <input name="a" type="number" step="any" value="0"> *
  <input name="b" type="number" step="any" value="0"> =
  <output name="result" onforminput="value = a.value * b.value">0</output>
 </p>
</form>

First of all, why isn't it "this.value = a.vlaue * b.value"?  I am
assuming that the contents on onforminput are ECMAScript (I can't find
anywhere in the spec where it defines that), is that right?  Using
"this" would be more backwards compat (and could be easily implemented
in say IE).

Received on Sunday, 20 June 2004 08:26:54 UTC