Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 72602 invoked from network); 8 Jan 2007 17:06:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Jan 2007 17:06:11 -0000 Received: (qmail 57173 invoked by uid 500); 8 Jan 2007 17:05:54 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 57139 invoked by uid 500); 8 Jan 2007 17:05:54 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 57040 invoked by uid 99); 8 Jan 2007 17:05:53 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Jan 2007 09:05:53 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [216.69.96.3] (HELO nelnet.net) (216.69.96.3) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Jan 2007 09:05:08 -0800 Received: from ([10.120.0.1]) by den-ctrust-01.nelnet.net with ESMTP id 5202100.2575619; Mon, 08 Jan 2007 10:03:45 -0700 Received: by hqmail.unipac.com with Internet Mail Service (5.5.2653.19) id ; Mon, 8 Jan 2007 10:03:14 -0700 Message-ID: <07CD8D709FA44646907645F880C50EE21364B69F@lin-email-01.nelnet.net> From: "Nelson, Tracy M." To: Tomcat Users List Subject: RE: Standards Complaint Browser Campaign Date: Mon, 8 Jan 2007 10:05:58 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Virus-Checked: Checked by ClamAV on apache.org | From: Christopher Schultz [mailto:chris@christopherschultz.net] | Sent: Sunday, 07 January, 2007 09:56 | | At any rate, you should try to avoid anything that's not a W3C standard. Yeah, so stay away from Mozilla's little "shortcuts" like using document.getElementsByTagName('tag')['name'] (gEBTN() is defined to return a NodeList, not a NamedNodeMap). And be sure to avoid appending a new row to a table by just blithely calling tbl.appendChild(document.createElement("tr")) -- even through Mozilla accepts it and does what you might expect, it's wrong (that code will append a new child to the *table*, so it'll be treated as a second table body, so it won't show up) So use the W3C standard of tbl.lastChild.appendChild(document.createElement("tr")), like IE enforces. Sorry, I just get a little twitchy when people start mooning over Mozilla's W3C compliance. Sure, it's pretty compliant, and yes IE is a festering cesspool, but don't get suckered into the "Well, it works on Mozilla/FF/NS, so it *must* be W3C compliant..." trap. Every browser has it's little departures from the spec, keep your eyes open and test with every (version of every) browser you can get your hands on. ----------------------------------------- ------------------------------------------------------------ The information contained in this message is confidential proprietary property of Nelnet, Inc. and its affiliated companies (Nelnet) and is intended for the recipient only. Any reproduction, forwarding, or copying without the express permission of Nelnet is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to this e-mail. ------------------------------------------------------------ --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org