- From: Boris Zbarsky <bzbarsky@MIT.EDU>
- Date: Fri, 02 May 2008 22:11:38 -0500
- To: Cameron McCormack <cam@mcc.id.au>, "Web APIs WG (public)" <public-webapi@w3.org>
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