Why is selectivizr.js causing “white screen of death” in IE8?

后端 未结 5 644
囚心锁ツ
囚心锁ツ 2021-02-08 09:52

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

It also downloads everything, I can see that in the activity

5条回答
  •  太阳男子
    2021-02-08 10:37

    Not a solution per se, but as a workaround, moving the @font-face declaration into the (ie not putting it in a 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.

    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.

提交回复
热议问题