【发布时间】:2016-03-27 07:08:46
【问题描述】:
在下面的示例中,右侧单元格的顶部有一个边框。只出现在 Chrome 中,是不是 Chrome 的 bug?
HTML / CSS
html,
body {
height: 100%;
}
table {
border-collapse: collapse;
width: 100%;
height: 100%;
}
.left {
border-right: 1px #aaaaaa solid;
border-top: 1px #aaaaaa solid;
}
<table>
<tr>
<td colspan=2>top</td>
</tr>
<tr>
<td class="left">left</td>
<td>right</td>
</tr>
</table>
这里是as a fiddle的例子。
Chrome 屏幕截图
【问题讨论】:
-
如果你把你的边框设置成这样(border-top: 3px #aaaaaa dashed;),它看起来会更加错误。请看:jsfiddle.net/5366whmf/28顺便说一句,这个bug快一周年了,但问题没有解决。
-
这个 Google Chrome 错误今天仍然重现,使用最新的 chrome 版本 72.0.3626.121(官方构建)(64 位)
标签: html css google-chrome chromium