我有一个页面,其中包含<article>连续的几个元素。元素的底部是一个使用 3D CSS 变换<article>的小元素。<div>奇怪的是,即使原版<article>没有硬件加速,这个小元素也会<div>导致其余<article>元素也有硬件加速(我正在使用这里概述的方法:http: //mir.aculo.us /2011/02/08/visualizing-webkits-hardware-acceleration/),尽管只有小部分<div>需要它。
当我隐藏第一个<div>时,随后的硬件加速被禁用<article>。
<article> <-- Does not have HW acceleration
[other divs and content]
<div></div> <-- Has HW acceleration
</article>
<article> <-- Has HW acceleration
[other divs and content]
<div></div>
</article>
<article> <-- Has HW acceleration
[other divs and content]
<div></div>
</article>
变成
<article> <-- Does not have HW acceleration
[other divs and content]
<div style="display:none"></div>
</article>
<article> <-- Does not have HW acceleration
[other divs and content]
<div></div> <-- Has HW acceleration
</article>
<article> <-- Has HW acceleration
[other divs and content]
<div></div>
</article>
由于整个<article>标签获得了硬件加速,亚像素抗锯齿被禁用,并且所有文本<article>都是颗粒状的。
有没有什么简单的东西可以阻止后续<article>元素获得硬件加速?