Bug #7183 [Opn]: <a> tag cannot be self-closing

From: Date: Thu, 15 Jun 2006 19:31:27 +0000
Subject: Bug #7183 [Opn]: <a> tag cannot be self-closing
References: 1  Groups: php.pear.webmaster 
Request: Send a blank email to pear-webmaster+get-5091@lists.php.net to get a copy of this message
Edit report at http://pear.php.net/bugs/bug.php?id=7183&edit=1 ID: 7183 Updated by: mj@php.net Reported By: pecl-bugs-2006 at ryandesign dot com Status: Open Id: 7183 Type: Bug Package: Web Site Operating System: Mac OS X 10.4.5 PPC PHP Version: Irrelevant -Assigned To: +Assigned To: mj New Comment: I still think we should try to make live as pleasant as possible for Safari users. Can someone with the most recent version of Safari confirm that this problem is still there? If so, I'll look at fixing it. Previous Comments: ------------------------------------------------------------------------ [2006-06-06 15:53:02] dufuz at php dot net That's valid accourding to the w3c checker, so I think Safari is broken if anything. IIRC you can close tags like that in HTML if you don't have any content to put in but I might be wrong on that, but heck our page even validates with XHTML 1.1, which is very strict. ------------------------------------------------------------------------ [2006-03-23 10:07:43] pecl-bugs-2006 at ryandesign dot com Description: ------------ The source code of many (most? all?) pages on pecl.php.net contains this near the top: <div> <a id="TOP" /> </div> That's not permissible. It must read: <div> <a id="TOP"></a> </div> Doing it your way breaks Safari, which then considers the <a> tag to never have been closed, and causes all normal text throughout the rest of the page to be inside an <a> and to participate in ridiculous onmouseover effects like turning pink when you click anywhere on the page. ------------------------------------------------------------------------ -- Edit this bug report at http://pear.php.net/bugs/bug.php?id=7183&edit=1

« previous php.pear.webmaster (#5091) next »