非标准
该特性是非标准的,请尽量不要在生产环境中使用它!
概述
Element.currentStyle
是一个与 window.getComputedStyle
方法功能相同的属性。这个属性实现在旧版本的IE浏览器中.
规范
没有相关规范。
Microsoft 在MSDN中对该属性进行了描述.
浏览器兼容性
We're converting our compatibility data into a machine-readable JSON format.
This compatibility table still uses the old format,
because we haven't yet converted the data it contains.
Find out how you can help!
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Microsoft Edge | Opera | Safari (WebKit) |
---|---|---|---|---|---|---|
Basic support | 未实现 | 未实现 | 6 | 未实现 | 未实现 | 未实现 |
Feature | Android | Firefox Mobile (Gecko) | IE Phone | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|
Basic support | 未实现 | 未实现 | ? | ? | 未实现 |