[英]image-rendering DOM equivalent
What's the DOM equivalent of the image-rendering
CSS property in Firefox? Firefox中与image-rendering
CSS属性等效的DOM是什么? ie is there a way to set it aside from doing element.style.cssText = "image-rendering: -moz-crisp-edges;"
也就是说,除了做element.style.cssText = "image-rendering: -moz-crisp-edges;"
之外,还有一种方法可以将其设置为 ? ?
Note: browser compatibility is not an issue. 注意:浏览器兼容性不是问题。
In firefox 4.0rc1 I can use 在firefox 4.0rc1中,我可以使用
element.style.imageRendering = "-moz-crisp-edges";
without problems. 没有问题。
Like with any other css property just switch from hyphen-lowercase to camelCase. 与其他任何CSS属性一样,只需将连字符小写切换为camelCase。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.