That sounds like a very weak argument against use of conditional comments. More like a misunderstanding of them. By definition of conditional comments, even if every other browser decided to implement them the existing tests still wouldn't change. Conditional comments work using conditions. So even if Firefox decided to add conditional comment support, only conditional comments targeted at Firefox would be run, all those still targeted at IE will still be strictly for that same set. Unlike the useragent which is known for browsers to purposefully lie about what they are, after all just about every browser has been pretending to be Netscape Navigator nearly forever. Opera disguises itself as IE by default, and even Konqueror lets you completely customize the entire user agent string. Despite whatever the user agent says, conditional comments will not lie. If a browser tried to do that it would likely go and break itself on a large number of websites already using conditional comments to apply IE fixes. And that's the opposite of any reason browsers have decided to spoof things.
~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://nadir-seen-fire.com] -Nadir-Point (http://nadir-point.com) -Wiki-Tools (http://wiki-tools.com) -MonkeyScript (http://monkeyscript.nadir-point.com) -Animepedia (http://anime.wikia.com) -Narutopedia (http://naruto.wikia.com) -Soul Eater Wiki (http://souleater.wikia.com) Diego Perini wrote: > Juriy, > ... > One "span" element with an id="length" will do much more damages to > every existing framework/library, and there are tons of properties > that can be overwritten. Should we also hope no other browser > implements conditional comments ? > > Are you interested in how much a test is "foldable" or how good it is > into recognize if the browser is IE ? > > First case you win, second case I win. > > ... > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-dev@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=en -~----------~----~----~----~------~----~------~--~---