'Aw, Snap!' Error when inspecting element in Chrome

后端 未结 2 870
陌清茗
陌清茗 2021-02-08 00:04

Whenever I inspect any element that\'s part of my navigation menu, OR inspect element and then browse to a navigation menu I get the \'Aw, Snap\' error in Google Chrome. I figur

2条回答
  •  孤独总比滥情好
    2021-02-08 00:42

    When chrome crashes, please file a bug at http://new.crbug.com so that the chrome developers can fix the problem. (I've filed http://crbug.com/141139 for this issue for you). Ideally, try making a copy of your site and keep removing things from the copy until you have a small test case that still reproduces the problem. Then attach that to the bug.

    Edit: Looks like this bit from your style.css causes it:

    #navigation-menu-container{
      border-image:  url(images/shadow-border.png) stretch 10;
    }
    

    border-image needs its numbers in front of stretch (see e.g. http://css-tricks.com/understanding-border-image/), and Chrome gets confused by that not being the case. Moving the 10 in front of stretch fixes the crash (but the crash is still a chrome bug of course).

提交回复
热议问题