title: WebKit. Hover on image 'alt' not working
body: <p>I have really simple HTML code </p>
  
  <pre><code>&lt;img class='star' src='' alt='&amp;#9733;'/&gt;
  </code></pre>
  
  <p>With really simple style</p>
  
  <pre><code>.star {
      position: absolute;
      cursor: pointer;
      font-size: 40px;
      color: black;
  }
  
  .star:hover {
      color:red;
  }
  </code></pre>
  
  <p>My idia is this. If there is no image on server, I show unicode star symbol ( or if user will switch off all images ). And if a user</p>
  
  <p>It works perfectly in FF ( tested on FF25 ) but fails really hard on WebKit browsers. Hover state dosn't trigger or triggers ones and then stay in that state forever.</p>
  
  <p><strong>I have only one question.. WTF is that? o_O Where am I wrong, or it's just a WebKit bug?</strong></p>
  
  <p>It would be nice if someone told me how to fix this. But mostly i want to understand what is going on here.</p>
  
  <p>PS: Example <a href="http://jsbin.com/UMIrAJI/3/edit" rel="nofollow">http://jsbin.com/UMIrAJI/3/edit</a> </p>
  
  <p><strong>UPD:</strong></p>
  
  <p>This example is working <a href="http://jsbin.com/UMIrAJI/5/edit" rel="nofollow">http://jsbin.com/UMIrAJI/5/edit</a> but the only difference is 'background' color changed on hover. As soon as we remove 'background' - hover stops working. LOL. </p>
  
  <p>So my question is still valid. What is going on here?</p>
  
  <p><strong>UPD2:</strong></p>
  
  <p>I found another workaround. If we add <code>border: 0px solid white;</code> (but only on hover) example will also start to work  <a href="http://jsbin.com/UMIrAJI/6/edit" rel="nofollow">http://jsbin.com/UMIrAJI/6/edit</a> . So it's something about repainting. </p>
  
  <p><strong>UPD3:</strong>
  It looks like a bug to me so I reported it. I'll wait for some comments from developers.</p>
  
  <p><a href="https://code.google.com/p/chromium/issues/detail?id=323545&amp;thanks=323545&amp;ts=1385479799" rel="nofollow">https://code.google.com/p/chromium/issues/detail?id=323545&amp;thanks=323545&amp;ts=1385479799</a></p>