问题描述
可能我是愚蠢的,俯视的东西,但我有一个奇怪的问题,只发生在Chrome(12.0.7,但也许其他版本)。查看此网站:
:
某些版本的Chrome 12(开发者版本)添加了对打开和关闭元素
的适当支持。
根据,Chrome
为了解决这个问题,我想你应该替换的细节
元素与其他一些元素。
Probably I'm being stupid and overlooking something, but I am having a bizarre issue that only occurs in Chrome (12.0.7, but maybe other versions as well). Check out this site:
On the right side, you will notice a community update panel. This is how it looks in any major browser except Chrome:
And here is how it renders in Chrome:
It renders twisties? When you click on one, it expands the row. Clicking again collapses the row. Nowhere in my code do I have any markup to implement such behavior. Is this some kind of special behavior because I am using figure tags? I tested this site in Chrome before and it was no issue then, so it could be a recent bug.
The details
element is supposed to exhibit the behaviour you're experiencing in Chrome.
Some version of Chrome 12 (dev channel) added proper support for opening and closing the details
element.
According to http://caniuse.com/#search=details, Chrome is the only browser to support this at the moment.
To fix this, I think you should replace the details
element with some other element.
这篇关于Insane Chrome问题... Chrome呈现扭曲?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!