internet-explorer - Microsoft Edge 会使用 -webkit- 或 -ms- 等前缀吗?

标签 internet-explorer vendor-prefix microsoft-edge

Microsoft Edge 是否会在未来的功能中使用 -webkit--ms- 等前缀或自己的新前缀?也许是类似 -me- 的东西?

最佳答案

tl;dr:是和否

现有的非常受欢迎的前缀属性将一直保留,直到获得 native 支持,但 Microsoft Edge 将不会引入新的功能前缀系统。相反,他们将使用功能标志(例如 Chrome 和 Firefox,用于客户端而不是开发人员端的实验功能)。

<小时/>

Direct Source

Some of the more notable removals are those where Microsoft Edge supports the latest standard API definition and removes support for MS prefixed versions of the APIs. Examples include CSS Transforms, Fullscreen API, and Pointer Events. This brings up an important topic: vendor prefixes. You’ll see a trend in the vendor prefixes in Microsoft Edge compared to IE:

http://az648995.vo.msecnd.net/win/2015/05/vendorprefixes1.png

Our support (or lack thereof) of prefixed APIs is data-driven with compatibility as the sole purpose for any that remain. As examples, -webkit-border-radius is still in use on over 60% of page loads and the MS-prefixed Encrypted Media Extensions APIs are still in use on top video streaming services. Because of the impact on interoperability across the Web, these are supported in Microsoft Edge for the time being.

The consensus across the industry is that vendor prefixes cause more harm than good and the necessity of browsers supporting other vendor’s prefixes is a good example of why. Going forward, we’re using feature flags (accessible by navigating to about:flags) to introduce experimental APIs and minting new vendor prefixed APIs sparingly, if ever. Today, you’ll find examples like early implementations of CSS Filters, Touch Events, and HTML5 date inputs in about:flags. We’re also working with other browser vendors on exploring new approaches to experimental APIs that enable easier and broader access to experimental APIs while minimizing the compatibility burden that prefixes incur. Check out this talk (starts around 31 min mark) for an initial proposal we’ve made, tentatively named “API Trials”.

(强调我的)

关于internet-explorer - Microsoft Edge 会使用 -webkit- 或 -ms- 等前缀吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30824665/

相关文章:

jQuery fadeIn/fadeOut IE cleartype 故障如何修复过渡

javascript - 如何让 'grunt less' 自动运行 autoprefixer?

javascript - 使用 javascript 设置 vendor 前缀的 CSS

javascript - Svg scale() 不适用于 Edge(不是 Edge Chromium)

javascript - 使用 JS/jQuery PIE 移动的元素未更新

html - 复选框和单选按钮在 IE7 中显示不完美?

javascript - 如何从 BHO 阻止 window.showModalDialog 弹出窗口?

css - 供应商前缀的 css 偏离当前标准

javascript - 对象在 Edge 和 IE10 上不支持属性或方法 'propAttr'

javascript - 当我使用 Vue.JS 时,为什么 Microsoft Edge 无法识别 "this*"指向对象的指针?