Saturday, October 09, 2004

Bugs in Mozilla & Bioinformatics

Italics and List Bug in Mozilla Renderers I was posting something on Slashdot the other day, when I discovered that if you combine the LI and EM tags without the UL opening/closing tags, the EM tag would not get closed. Submitted it to the Slashcode bug report list, and Jamie McCarthy pointed out that this problemis specific to the Moz family (I noticed it on Firefox 1.0 preview release and on Moz 1.7.3). Here's my bug-report to Moz Bugzilla -- Summary: Renderer problems with combination of italics <em> and lists <li> Product: Firefox Version: unspecified Platform: PC URL: http://slashdot.org/comments.pl?sid=124847&cid=10481209 OS/Version: Windows XP Status: UNCONFIRMED Severity: normal Priority: -- Component: Web Site AssignedTo: --removed-- ReportedBy: metlin@gmail.com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10 I had noticed this first on Slashdot, and submitted it as a bug-report to Slashcode. But it seems that the problem is specific to the Moz. renderer only. Consider the following -- --- begin --- Foo bar <em> <li>Something <li>Something more </em> This should not be italic. --- end --- Ideally, the sentence, "This should not be italic" should not be italic since I've closed the <em/> tag. However, it is. You can see it at work here - http://slashdot.org/comments.pl?sid=124847&cid=10481209 For some odd reason, the combination of <em> and <li> makes the <em> tag stay persistent. I guess the problem is because that code is not exactly sticking to valid HTML. HTML 3.2 spec gives you the freedom to NOT close the <li> tags, however it also necessiates the presence of the opening and closing [<UL>] tags. I guess the only reason I noticed this is because Slashdot allows you to post <li> without the <ul> elements. That could be what is making the renderer get confused. Reproducible: Always Steps to Reproduce: 1. Specify the HTML code given in the details 2. View the code on the Moz. broswers mentioned in the report Actual Results: The sentence outside the realm of the <em> italics tag should not be in italics, but it is. Expected Results: The sentence, "This should not be italic" should not have been in italics. I also noticed that the same problem occurs in Mozilla 1.7.3 - I'd tried viewing the page in Mozilla 1.7.3 as well as MSIE 6.0, and only the former (apart from Firefox) seems to be having the problem. Will keep you folks updated on this. Bioinformatics Hmm, so I got contacted by someone in the bioinformatics industry looking for biostatisticians. I followed them up, and it looks like we may have a partner to help Highbrew do contract work with certain "large" clients in the bioinformatics industry. Let's see how that goes. Any suggestions and inputs are welcome! Logos I'll get back to you guys on that one in just a while. Been really busy lately. Sorry, Cray3 -- I'll get back to you real soon -- things have been hectic around here! :-)