链接之间的制表会导致Chrome中的伪元素出现问题



在Chrome中,单击结果窗格并点击选项卡以关注此处的第一个链接:

http://jsfiddle.net/2q6c7c36/2/

注意到.box的内容是如何在其边界之外"跳起来"的吗?它似乎是由我正在使用的clearfix类引起的。这是Chrome中的错误还是我做错了什么?我在使用伪元素作为图标字体时也注意到了这一点。

谢谢。

.clearfix:after{
    content: ".";
    visibility: hidden;
    display: block;
    height: 0;
    clear: both;
}

演示-http://jsfiddle.net/victor_007/2q6c7c36/3/

content:"."设置为content:""

.box {
  border: 2px solid black;
  border-radius: 10px;
  position: absolute;
  float: left;
  width: 318px;
  overflow: hidden;
}
.clearfix:after {
  content: "";
  visibility: hidden;
  display: block;
  height: 0;
  clear: both;
}
a {
  display: inline-block;
  background-color: #555;
  color: white;
  text-decoration: none;
  font-family: helvetica;
  padding: 3px;
}
<div class="box clearfix">
  <a href="#" class="button">Button</a>
  <a href="#" class="button">Button</a>
  <a href="#" class="button">Button</a>
</div>