<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - onchange is sent to &lt;input type=radio&gt; before onclick"
   href="https://bugs.webkit.org/show_bug.cgi?id=93674#c13">Comment # 13</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - onchange is sent to &lt;input type=radio&gt; before onclick"
   href="https://bugs.webkit.org/show_bug.cgi?id=93674">bug 93674</a>
              from <span class="vcard"><a class="email" href="mailto:rniwa&#64;webkit.org" title="Ryosuke Niwa &lt;rniwa&#64;webkit.org&gt;"> <span class="fn">Ryosuke Niwa</span></a>
</span></b>
        <pre>Comment on <span class=""><a href="attachment.cgi?id=253702&amp;action=diff" name="attach_253702" title="Patch">attachment 253702</a> <a href="attachment.cgi?id=253702&amp;action=edit" title="Patch">[details]</a></span>
Patch

View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=253702&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=253702&amp;action=review</a>

<span class="quote">&gt; Source/WebCore/html/CheckboxInputType.cpp:86
&gt; +    } else {
&gt; +        element().dispatchChangeEventIfNeeded(); 
&gt;      }</span >

nit: No curly braces arouns a single line statement.

<span class="quote">&gt; Source/WebCore/html/HTMLInputElement.cpp:862
&gt; +        setTextAsOfLastFormControlChangeEvent(String());</span >

Why is this call to setTextAsOfLastFormControlChangeEvent necessary even we've already called it in HTMLInputElement::setChecked?
It seems strange that we need to call it in both places.

<span class="quote">&gt; Source/WebCore/html/RadioInputType.cpp:184
&gt; +    } else {
&gt; +        element().dispatchChangeEventIfNeeded();
&gt;      }</span >

nit: No curly braces around a single line statement.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>