Re: [selectors-api] Extended Attribute [NoNull] in the IDL

Cameron McCormack wrote:
>> In that case, the null behavior doesn't make any sense to me...  I would  
>> expect querySelector(null) to either behave as querySelector("null") (as  
>> in Opera) or as querySelector("") (as in Gecko and apparently Webkit)...
> 
> If there’s a need for null to stringify to "", then I can add another
> extended attribute to Web IDL.

I think null sometimes stringifies to "" and sometimes to "null", depending on 
the interface.  For example, the current CSSOM APIs assume the former.  In fact, 
most cases do the former.  I think the latter is pretty rare.

Received on Saturday, 3 May 2008 03:12:39 UTC