Firebug kills -webkit Settings in CSS File - Why?

北战南征 提交于 2019-12-02 07:24:26
Ben Hull

I don't think you can - the correct behaviour for browsers is to ignore style rules they don't understand. Firefox sees -webkit-xxx and effectively removes it from the style set, so it can't ever be applied to .box.

Safari's inspector will show the -webkit- rules but ignore the -moz- rules for the same reason.

Firebug handles only Gecko's native rules (styles). Gecko is a browser engine, used in Firefox (http://ru.wikipedia.org/wiki/Gecko).

-webkit is used by another browser engine, so it is ignored. similar to -ms ("Trident" engine - IE8), -o (Presto - Opera), or -khtml (KHTML - Konqueror).

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!