MDN wants to talk to developers like you: https://qsurvey.mozilla.com/s3/8d22564490d8

浏览器引擎前缀

这篇翻译不完整。请帮忙从英语翻译这篇文章

浏览器有时会给一些在试验阶段或非标准阶段的css属性添加前缀, 这样开发者就可以使用 浏览器行为的改变不会破坏标准. 开发人员应等待包含无前缀属性,直到浏览器行为标准化。

浏览器厂商们尝试着去摆脱试验功能的前缀,他们注意到web开发者们正在生产环境中使用它们,污染了全局空间,这使一些弱势厂商更加难呈现

Lately, the trend is to add experimental feature behind user-controlled flags and to work on smaller specifications that reaches stability much quicker.

Typically the vendors use these prefixes:

  • -webkit- (Chrome, Safari, newer versions of Opera.)
  • -moz- (Firefox)
  • -o- (Old versions of Opera)
  • -ms- (Internet Explorer)

Vendors also use prefixes on API. On interfaces, they typically use:

  • Webkit (Chrome, Safari, newer versions of Opera.)
  • Moz (Firefox)
  • O (Old versions of Opera)
  • MS (Internet Explorer)

On properties and methods, they typically use:

  • webkit (Chrome, Safari, newer versions of Opera.)
  • moz (Firefox)
  • o (Old versions of Opera)
  • ms (Internet Explorer)

Learn more

General knowledge

文档标签和贡献者

 此页面的贡献者: XiongAmao, broven
 最后编辑者: XiongAmao,