为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Error in the Inspect Element Tool !!

more options

I found a bug in the browser. When we use specific css classes, while trying to inspect the page with the inspect element tool, the list of css styles disappears. The styles to test is:

/* Placeholders layout */
::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color: #afafaf !important;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
   color: #afafaf !important;
   opacity: 1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
   color: #afafaf !important;
   opacity 1;
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
   color: #afafaf !important;
}
I found a bug in the browser. When we use specific css classes, while trying to inspect the page with the inspect element tool, the list of css styles disappears. The styles to test is: <pre><nowiki> /* Placeholders layout */ ::-webkit-input-placeholder { /* WebKit, Blink, Edge */ color: #afafaf !important; } :-moz-placeholder { /* Mozilla Firefox 4 to 18 */ color: #afafaf !important; opacity: 1; } ::-moz-placeholder { /* Mozilla Firefox 19+ */ color: #afafaf !important; opacity 1; } :-ms-input-placeholder { /* Internet Explorer 10-11 */ color: #afafaf !important; }</nowiki></pre>

由cor-el于修改

所有回复 (3)

more options

Can you give a link to a live example of this?

There definitely are some bugs in the Inspector CSS Rules display. Usually if I reload the page I see the applicable rules again, but it would be helpful to chase down what causes these occasional problems.

I don't know what effect it might be having that your rules include numerous "unrecognized" properties (properties proprietary to other browsers). However, Firefox should be able to ignore those and display the ones it actually implements.

more options

This http://wedding.axitech.com.br/cadastro-fornecedores is an example of error. When I put the classes mentioned above, the error occurs but if I remove the classes mentioned, the error disappears.

CSS stylesheet http://wedding.axitech.com.br/assets/frontend/css/custom.css

由yesmarcos于修改

more options

Could you fix this issue displayed in the Web Console (CSS Warnings displayed) and test again:

custom.css Line 19 Character 11 Expected ':' but found '1'. Declaration dropped.

::-moz-placeholder { /* Mozilla Firefox 19+ */
   color: #afafaf !important;
   opacity 1;
}

If that's the issue, this is a bit too fragile...