Re: DOMString-like objects for the CSSOM

On Fri, 19 Feb 2010 17:40:16 +0100, Boris Zbarsky <bzbarsky@mit.edu> wrote:

>> 'f' in 'x'
>> TypeError: Cannot use 'in' operator to search for 'f' in x
>
> This is more serious, since it could hinder object-detection of the new  
> properties....
>
> Thank you for bringing that up.

It would hinder object detection using if ('px' in foo.top), but object  
detection using if (foo.top.px != undefined) would work fine.

-- 
Simon Pieters
Opera Software

Received on Friday, 19 February 2010 23:54:31 UTC