title: onchange not firing when date of input type="date" is clear as first action
body: <p>I have a <code>type=&quot;date&quot;</code> input that onchange fires some JS. My problem is that if you want to clear the date with the &quot;cross button&quot; on the right of the input tag, it will not fire the <code>onchange</code> event, unless you have previously changed the value. It seems really weird to me. My question: can I fire JS when my first action is clicking the &quot;cross button&quot; that delete the date?</p>
  <p>I'm using Firefox 58.0.1</p>
  <p><strong>Edit:</strong> Now if working as expected (sept 2020, Firefox 80.0.1)</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>function myFunction(IdTag) {
  var x = document.getElementById(IdTag).value;
      alert('The new value is: '+x);
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;input type="date" id="MyID" value="2018-02-06" onchange="myFunction('MyID');"&gt;</code></pre>
  </div>
  </div>
  </p>