title: Hover depends on font-size in Chrome
body: <p><strong>What I'm trying...</strong></p>
  
  <p>I'm trying to make a menu with a hover effect. If you hover a link, it's background-color should change. If you go to the next one, it should change smoothly to the next link.</p>
  
  <hr>
  
  <p><strong>Problem</strong></p>
  
  <p>When you hover over one link and then go to the next one, there is a small gap between the elements. If your mouse is at that exact spot, nothing happens.</p>
  
  <hr>
  
  <p><strong>Working Example</strong></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-css lang-css prettyprint-override"><code>.menu-item {
    list-style: none;
    float: left;
    text-transform: uppercase;
    font-size: 21px;
    line-height: 30px;
  }
  
  a {
    padding: 20px;
  }
  
  a:hover {
    background-color: green;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div id="menu"&gt;
    &lt;ul class="menu-list"&gt;
      &lt;li class="menu-item"&gt;&lt;a href='#'&gt;Menü #1&lt;/a&gt;&lt;/li&gt;
      &lt;li class="menu-item"&gt;&lt;a href='#'&gt;Menü #2&lt;/a&gt;&lt;/li&gt;
      &lt;li class="menu-item"&gt;&lt;a href='#'&gt;Menü #3&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <hr>
  
  <p><strong>Not Working Example</strong></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-css lang-css prettyprint-override"><code>.menu-item {
    list-style: none;
    float: left;
    text-transform: uppercase;
    font-size: 20px;
    line-height: 30px;
  }
  
  a {
    padding: 20px;
  }
  
  a:hover {
    background-color: green;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div id="menu"&gt;
    &lt;ul class="menu-list"&gt;
      &lt;li class="menu-item"&gt;&lt;a href='#'&gt;Menü #1&lt;/a&gt;&lt;/li&gt;
      &lt;li class="menu-item"&gt;&lt;a href='#'&gt;Menü #2&lt;/a&gt;&lt;/li&gt;
      &lt;li class="menu-item"&gt;&lt;a href='#'&gt;Menü #3&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p><strong>My observation</strong></p>
  
  <p>If you change the <code>font-size</code> just by one pixel, it works. If I use IE it works in both examples, but in Chrome only the Working One works :D</p>
  
  <hr>
  
  <p><strong>What I'm asking for...</strong></p>
  
  <p>Is this a Chrome bug or is there a possibility to make the 'not working one' work.</p>