Webkit 错误?损坏的 CSS

发布于 2025-01-06 00:53:21 字数 904 浏览 3 评论 0原文

正在处理我网站的一部分。这是我的代码: http://jsfiddle.net/firelizard/ASdMq/

在 Chrome Beta (WebKit) 中:

在此处输入图像描述

在 Firefox (Gecko) 中:

Gecko Rendered

Gecko 正在按照我想要的方式渲染此代码。 webkit 是怎么回事?

Chrome 用户代理:Mozilla/5.0 (-OS-) AppleWebKit/535.19(KHTML,如 Gecko) Chrome/18.0.1025.11 Safari/535.19

Firefox 用户代理:Mozilla/5.0 (-OS-) ) Gecko/20100101 Firefox/10.0.1


Tally

Gecko:

  • 工作: Firefox 10

WebKit:

  • 不支持: Safari 5、Chrome 18

Trident:

  • 可以使用: Internet Explorer 8、9
  • 不支持: Internet Explorer 7

Presto:

  • 不支持: Opera ?

Working on part of my website. Here's my code: http://jsfiddle.net/firelizzard/ASdMq/

In Chrome Beta (WebKit):

enter image description here

In Firefox (Gecko):

Gecko Rendered

Gecko is rendering this code how I want it. What is up with webkit?

Chrome User Agent: Mozilla/5.0 (-OS-) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.11 Safari/535.19

Firefox User Agent: Mozilla/5.0 (-OS-) Gecko/20100101 Firefox/10.0.1


Tally

Gecko:

  • Works: Firefox 10

WebKit:

  • Doesn't: Safari 5, Chrome 18

Trident:

  • Works: Internet Explorer 8, 9
  • Doesn't: Internet Explorer 7

Presto:

  • Doesn't: Opera ?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

疧_╮線 2025-01-13 00:53:21

这个问题对我来说绝对是一个错误。在使用 jsfiddle 上发布的代码时,我注意到向单元格添加一些内容使 Opera 11.61 的行为更接近预期:

<td class="dm_other horz">2</td>
<td class="dm_other horz">3</td>

我来尝试一下,因为它让我想起了 臭名昭著的空白问题 我时常听说:)

The issue definetely looked as a bug to me. While playing with the code posted on jsfiddle, I've noticed that adding some content to cells makes Opera 11.61 behave closer to what was expected:

<td class="dm_other horz">2</td>
<td class="dm_other horz">3</td>

I've came to try it because it reminded me of the notorious whitespace problems I'm hearing about from time to time :)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文