« Further Reading | Main | iCab 3.0 Beta 358 »

Thu, Oct 13, 2005

InScript Release 183

InScript release 183 has support for window.getComputedStyle(element). It's not complete yet (the optional second parameter is ignored), but it should work in most cases. The function simply returns element.currentStyle (thanks to Mark 'Tarquin' Wilton-Jones for the idea). With getPropertyValue , setProperty (ignores the optional second parameter) and removeProperty added to CSSStyleDeclaration, the CSS3 multi-column demo now works in iCab. Pretty cool :-)

Mozilla's String.prototype.quote is now supported, too. It simply puts the string in double quotes and escapes all double quotes and backslashes within.

And there are, of course, bug fixes ... of sorts. new Function("",body) (with an empty string where a formal parameter list should be) is now allowed, although it's definitely incorrect according to ECMA-262-3. InScript follows Opera's approach and ignores all empty parameters before the body parameter (Firefox ignores only the first parameter if it's empty).

Posted by Thomas Much at 19:28
Edited on: Thu, Oct 13, 2005 19:44
Categories: iCab & InScript