为什么selectivizr.js会导致“白屏死机”?在IE8? [英] Why is selectivizr.js causing "white screen of death" in IE8?

查看:118
本文介绍了为什么selectivizr.js会导致“白屏死机”?在IE8?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

包括 selectivizr.js 导致IE8根本不显示/渲染任何内容,但IE8中的 IETester 管理。

Including selectivizr.js is causing IE8 to not display/render anything at all, but IE8 in IETester manages.

它还会下载一切,我可以在活动栏和DOM检查器中看到。并且链接甚至在那里,我看到当在导航区域周围移动光标时。但它根本不显示任何内容。

It also downloads everything, I can see that in the activity bar and the DOM inspector. And the links are even there, I see that when moving the cursor around the nav-area. But it doesn't display anything at all.

我通过大量搜索找到的唯一错误修正是应用 zoom:1; 到body,但在我的情况下没有用。

The only bugfix I've found through a lot of searching is applying zoom: 1; to body, but it doesn't help in my case.

我很感激我能得到的任何调试帮助。 页面预览

I would appreciate any debugging help I can get. Page preview.

推荐答案

本身不是解决方案,但作为解决方法,将 @ font-face 声明移至< ; head> (即将其放入< link> ed样式表)似乎解决了这个问题很多情况。似乎与selectivizr如何使用@ font-face声明解析样式表有关。

Not a solution per se, but as a workaround, moving the @font-face declaration into the <head> (ie not putting it in a <link>ed stylesheet) seems to resolve this issue in many cases. Seems to be something to do with how selectivizr parses stylesheets with @font-face declarations in them.

不太理想我知道但是考虑到进一步的选择性开发似乎已停滞(关于GH的最后一次提交是在1年前写的时候)在某些情况下可能是可接受的。

Not ideal I know but given that further selectivizr development seems to have stalled (last commit on GH is 1 yr ago as of time of writing) it might be acceptable in some cases.

这篇关于为什么selectivizr.js会导致“白屏死机”?在IE8?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆