title: When changing the value of a field with Javascript, Safari keeps the placeholder visible
body: <p>Run the following in Safari: <a href="https://jsfiddle.net/gkatsanos/2355m5ds/" rel="nofollow noreferrer">https://jsfiddle.net/gkatsanos/2355m5ds/</a></p>
  
  <p>When I am changing .val() of an input field without focusing on it manually in Safari, the placeholder remains.
  <a href="https://i.stack.imgur.com/C9zQk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/C9zQk.png" alt="safari bug"></a>
  <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>$('a').on('click', () =&gt; {
    $('#stuff').val('lala');
  });</code></pre>
  <pre class="snippet-code-css lang-css prettyprint-override"><code>input {
    width: 500px;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"&gt;&lt;/script&gt;
  &lt;form&gt;
    &lt;input id="stuff" type="text" placeholder="This Won't get removed in Safari when we change the value of the input"&gt;
    &lt;a href="#"&gt;Click this&lt;/a&gt;
  &lt;/form&gt;</code></pre>
  </div>
  </div>
  </p>