崩潰有誰知道爲什麼谷歌瀏覽器崩潰時與網絡字體的頁面上的用戶陸地谷歌瀏覽器:喔唷,崩潰就包含頁面網絡字體
它不發生的事情,只是往往
我剛剛進入一個藍屏頁面,我不知道爲什麼:當頁面不是來自重定向時,該頁面正常。
這是我在日誌中發現:
[3612:5872:17856358:INFO:buffered_resource_handler.cc(178)] To buffer: http://www.app.com/app/files/fonts/aller_lt-webfont.woff
[3612:5872:17856358:INFO:buffered_resource_handler.cc(178)] To buffer: http://www.app.com/app/files/fonts/allerdisplay-webfont.woff
[3612:5872:17856358:INFO:buffered_resource_handler.cc(140)] Finished buffering http://www.app.com/app/files/fonts/aller_lt-webfont.woff
[3612:5872:17856358:INFO:buffered_resource_handler.cc(140)] Finished buffering http://www.app.com/app/files/fonts/allerdisplay-webfont.woff
[3612:5872:17856545:WARNING:passive_log_collector.cc(175)] The passive log data has grown larger than expected, resetting
[3612:5872:17856607:WARNING:passive_log_collector.cc(175)] The passive log data has grown larger than expected, resetting
這是代碼的崩潰:(的CSS)
@font-face {
font-family: 'AllerDisplay';
src: url('/app/uad/files/fonts/AllerDisplay.ttf');
}
@font-face {
font-family: 'Aller';
src: url('/app/uad/files/fonts/allerdisplay-webfont.eot');
src: local('☺'), url('/app/uad/files/fonts/allerdisplay-webfont.woff') format('woff'), url('/app/uad/files/fonts/allerdisplay-webfont.ttf') format('truetype'), url('/app/uad/files/fonts/allerdisplay-webfont.svg#webfontLZ8nc4vC') format('svg');
font-weight: 900;
font-style: normal;
}
@font-face {
font-family: 'Aller';
src: url('/app/uad/files/fonts/aller_ltit-webfont.eot');
src: local('☺'), url('/app/uad/files/fonts/aller_ltit-webfont.woff') format('woff'), url('/app/uad/files/fonts/aller_ltit-webfont.ttf') format('truetype'), url('/app/uad/files/fonts/aller_ltit-webfont.svg#webfontwJcwR5d9') format('svg');
font-weight: 100;
font-style: italic;
}
@font-face {
font-family: 'Aller';
src: url('/app/uad/files/fonts/aller_rg-webfont.eot');
src: local('☺'), url('/app/uad/files/fonts/aller_rg-webfont.woff') format('woff'), url('/app/uad/files/fonts/aller_rg-webfont.ttf') format('truetype'), url('/app/uad/files/fonts/aller_rg-webfont.svg#webfontGly2h2wa') format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Aller';
src: url('/app/uad/files/fonts/aller_lt-webfont.eot');
src: local('☺'), url('/app/uad/files/fonts/aller_lt-webfont.woff') format('woff'), url('/app/uad/files/fonts/aller_lt-webfont.ttf') format('truetype'), url('/app/uad/files/fonts/aller_lt-webfont.svg#webfontoaLI8hBJ') format('svg');
font-weight: 100;
font-style: normal;
}
@font-face {
font-family: 'Aller';
src: url('/app/uad/files/fonts/aller_it-webfont.eot');
src: local('☺'), url('/app/uad/files/fonts/aller_it-webfont.woff') format('woff'), url('/app/uad/files/fonts/aller_it-webfont.ttf') format('truetype'), url('/app/uad/files/fonts/aller_it-webfont.svg#webfontEbJrfJy1') format('svg');
font-weight: normal;
font-style: italic;
}
@font-face {
font-family: 'Aller';
src: url('/app/uad/files/fonts/aller_bd-webfont.eot');
src: local('☺'), url('/app/uad/files/fonts/aller_bd-webfont.woff') format('woff'), url('/app/uad/files/fonts/aller_bd-webfont.ttf') format('truetype'), url('/app/uad/files/fonts/aller_bd-webfont.svg#webfontmJTweXww') format('svg');
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: 'Aller';
src: url('/app/uad/files/fonts/aller_bdit-webfont.eot');
src: local('☺'), url('/app/uad/files/fonts/aller_bdit-webfont.woff') format('woff'), url('/app/uad/files/fonts/aller_bdit-webfont.ttf') format('truetype'), url('/app/uad/files/fonts/aller_bdit-webfont.svg#webfontO1egShyd') format('svg');
font-weight: bold;
font-style: italic;
}
感謝
待辦事項你有一個例子嗎? – 2010-11-03 15:56:00
http://www.johnnydeppweb.com/ – Roch 2010-11-11 01:01:21
你能提供一個jsfiddle嗎? – Randomblue 2012-08-29 23:54:26