Standard attribute selectors are more flexible than property selectors. They also fail silently if the attribute is missing. document.querySelectorAll("[noexist=blah]"); // 0 document.querySelectorAll(":noexist"); // Error. Why no generic property selector? :property(name); :property(name=value) - where `value` is required to be an identifier or string [CSS2]. Anyway, I thought it would be useful for the selectors API. Just wondering if this has occurred to anyone else. GarrettReceived on Monday, 19 July 2010 07:24:53 GMT
This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:29 GMT