Bootstrap 3.3.6 bootstrap.min.css中的警告和错误

时间:2016-07-22 23:56:43

标签: css twitter-bootstrap

从昨天开始,我收到了很多Bootstrap警告/错误。这种情况两天前没有发生,所以我不确定发生了什么。以下是警告/错误:

Unknown pseudo-class or pseudo-element '-webkit-inner-spin-button'.  Ruleset ignored due to bad selector. bootstrap.min.css:5:1544
Unknown pseudo-class or pseudo-element '-webkit-search-cancel-button'.  Ruleset ignored due to bad selector. bootstrap.min.css:5:1778
Unknown property 'orphans'.  Declaration dropped. bootstrap.min.css:5:2691
Unknown property 'widows'.  Declaration dropped. bootstrap.min.css:5:2700
Unknown property '-moz-osx-font-smoothing'.  Declaration dropped. bootstrap.min.css:5:3676
Expected color but found 'auto'.  Expected color but found '-webkit-focus-ring-color'.  Expected end of value but found '-webkit-focus-ring-color'.  Error in parsing value for 'outline'.  Declaration dropped. bootstrap.min.css:5:15709
Error in parsing value for 'margin-top'.  Declaration dropped. bootstrap.min.css:5:35740
Expected color but found 'auto'.  Expected color but found '-webkit-focus-ring-color'.  Expected end of value but found '-webkit-focus-ring-color'.  Error in parsing value for 'outline'.  Declaration dropped. bootstrap.min.css:5:35987
Unknown pseudo-class or pseudo-element '-ms-input-placeholder'.  Ruleset ignored due to bad selector. bootstrap.min.css:5:36918
Unknown pseudo-class or pseudo-element '-webkit-input-placeholder'.  Ruleset ignored due to bad selector. bootstrap.min.css:5:36966
Unknown pseudo-class or pseudo-element '-ms-expand'.  Ruleset ignored due to bad selector. bootstrap.min.css:5:37018
Expected media feature name but found '-webkit-min-device-pixel-ratio'. bootstrap.min.css:5:37352
Error in parsing value for 'margin-top'.  Declaration dropped. bootstrap.min.css:5:38465
Unknown property 'touch-action'.  Declaration dropped. bootstrap.min.css:5:45403
Unknown property 'user-select'.  Declaration dropped. bootstrap.min.css:5:45511
Expected color but found 'auto'.  Expected color but found '-webkit-focus-ring-color'.  Expected end of value but found '-webkit-focus-ring-color'.  Error in parsing value for 'outline'.  Declaration dropped. bootstrap.min.css:5:45712
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing value for 'filter'.  Declaration dropped. bootstrap.min.css:5:46058
Expected color but found 'solid\9 '.  Expected end of value but found 'solid\9 '.  Error in parsing value for 'border-top'.  Declaration dropped. bootstrap.min.css:5:54984
Expected 'none', URL, or filter function but found 'progid'.  Error in parsing value for 'filter'.  Declaration dropped. bootstrap.min.css:5:56351
Expected color but found 'solid\9 '.  Expected end of value but found 'solid\9 '.  Error in parsing value for 'border-bottom'.  Declaration dropped. bootstrap.min.css:5:56896
Error in parsing value for 'background-image'.  Declaration dropped. bootstrap.min.css:5:85087
Error in parsing value for 'background-image'.  Declaration dropped. bootstrap.min.css:5:85273
Error in parsing value for 'background-image'.  Declaration dropped. bootstrap.min.css:5:85992
Error in parsing value for 'background-image'.  Declaration dropped. bootstrap.min.css:5:86178
Error in parsing value for 'background-image'.  Declaration dropped. bootstrap.min.css:5:86618
Error in parsing value for 'background-image'.  Declaration dropped. bootstrap.min.css:5:86804
Error in parsing value for 'background-image'.  Declaration dropped. bootstrap.min.css:5:87250
Error in parsing value for 'background-image'.  Declaration dropped. bootstrap.min.css:5:87436
Error in parsing value for 'background-image'.  Declaration dropped. bootstrap.min.css:5:87880
Error in parsing value for 'background-image'.  Declaration dropped. bootstrap.min.css:5:88066
Unknown property 'zoom'.  Declaration dropped. bootstrap.min.css:5:88502
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing value for 'filter'.  Declaration dropped. bootstrap.min.css:5:105745
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing value for 'filter'.  Declaration dropped. bootstrap.min.css:5:105854
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing value for 'filter'.  Declaration dropped. bootstrap.min.css:5:107063
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing value for 'filter'.  Declaration dropped. bootstrap.min.css:5:107116
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing value for 'filter'.  Declaration dropped. bootstrap.min.css:5:108266
Unknown property 'line-break'.  Declaration dropped. bootstrap.min.css:5:108303
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing value for 'filter'.  Declaration dropped. bootstrap.min.css:5:108328
Unknown property 'line-break'.  Declaration dropped. bootstrap.min.css:5:110310
Expected media feature name but found 'transform-3d'. bootstrap.min.css:5:112148
Expected media feature name but found '-webkit-transform-3d'. bootstrap.min.css:5:112163
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing value for 'filter'.  Declaration dropped. bootstrap.min.css:5:113485
Error in parsing value for 'background-image'.  Declaration dropped. bootstrap.min.css:5:113554
Error in parsing value for 'background-image'.  Declaration dropped. bootstrap.min.css:5:113641
Error in parsing value for 'background-image'.  Declaration dropped. bootstrap.min.css:5:113723
Expected 'none', URL, or filter function but found 'progid'.  Error in parsing value for 'filter'.  Declaration dropped. bootstrap.min.css:5:113900
Error in parsing value for 'background-image'.  Declaration dropped. bootstrap.min.css:5:114097
Error in parsing value for 'background-image'.  Declaration dropped. bootstrap.min.css:5:114184
Error in parsing value for 'background-image'.  Declaration dropped. bootstrap.min.css:5:114266
Expected 'none', URL, or filter function but found 'progid'.  Error in parsing value for 'filter'.  Declaration dropped. bootstrap.min.css:5:114443
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing value for 'filter'.  Declaration dropped. bootstrap.min.css:5:114668
Expected color but found '#\30 00\9 '.  Error in parsing value for 'background-color'.  Declaration dropped.

我使用的是Firefox 47.0.1。如果有人能对此有所了解,我们将不胜感激!我正在链接这样的css文件(从官方的Bootstrap下载页面复制):

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">

1 个答案:

答案 0 :(得分:1)

见这个帖子:

Weird Error on bootstrap

显然这是一个Firefox问题,错误不会出现在Chrome中。