- From: Bjoern Hoehrmann <derhoermi@gmx.net>
- Date: Wed, 12 Oct 2011 04:18:41 +0200
- To: "L. David Baron" <dbaron@dbaron.org>
- Cc: www-style@w3.org
* L. David Baron wrote: >Last time I tried to use the named constants in JavaScript code I >found it wasn't interoperable, and had to use the numbers. (I think >I was using the node type constants in that case.) Then again, >alert(CSSRule.STYLE_RULE) works in Gecko, WebKit, and Opera. (Maybe >the problem I had was with IE?) With people who have been writing scripts for a long time this is often a matter of "I've tried this once, it didn't work well, so I work around it ever since", which these days often translates to "I use a library." Internet Explorer has indeed historically not supported these, but I'd not be surprised if Netscape Navigator 4 did not, either, for instance. -- Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de 25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/
Received on Wednesday, 12 October 2011 02:19:05 UTC