 <p>In firefox 4.0rc1 I can use</p> <pre>element.style.imageRendering = "-moz-crisp-edges";</pre> <p>without problems. </p> <p>Like with any other css property just switch from hyphen-lowercase to camelCase.</p>