Hi, Sorry if I'm completely wrong but I'd suggest to add to the core the following "supports" (If you think they are interesting for everyone):
jQuery.support = { .... // check if expressions exists (for IE7- and IE8, not in standard IE8 mode...) so programatically and "optimally" // you could add wc3 css standard behaviors not implemented in IEs... expression : typeof div.style.setExpression !== "undefined", // check if the browser supports "border-radius": return null (or false) if not.... // but if true, then return the css prefix to add to standard: "", "-moz-", "-webkit-" + "border-radius" // This kind of check is used a lot in plugins, and I think this is the fastest/easiest way... borderRadius : (typeof div.style.borderRadius !== "undefined") ? "" : (typeof div.style.WebkitBorderRadius !== "undefined") ? "-webkit-" : (typeof div.style.MozBorderRadius !== "undefined") ? "-moz-" : null; .... } Now I'm using functions like this: function hasBorderRadius(){ var d = document.createElement("div").style; if (typeof d.borderRadius !== "undefined") return ""; if (typeof d.WebkitBorderRadius !== "undefined") return "-webkit-"; if (typeof d.MozBorderRadius !== "undefined") return "-moz-"; return null; }; function hasSetExpression(){ var d = document.createElement("div").style; return typeof d.setExpression !== "undefined"; } , thanks a lot -- Enrique Meléndez Estrada (976 01 0083) Dpto. Servicios Informáticos Área Organización y Servicios Internos INSTITUTO TECNOLÓGICO DE ARAGÓN c/ María de Luna 8, 50018, Zaragoza (Spain) emelen...@ita.es - http://www.ita.es -- You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-...@googlegroups.com. To unsubscribe from this group, send email to jquery-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=.
<<attachment: emelendez.vcf>>