Bug #66138 [Opn->Csd]: HTML parsing breaks in Opera 12 because of an erroneous BASE tag

From: Date: Thu, 21 Nov 2013 17:30:58 +0000
Subject: Bug #66138 [Opn->Csd]: HTML parsing breaks in Opera 12 because of an erroneous BASE tag
References: 1  Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-17154@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=66138&edit=1 ID: 66138 Updated by: bjori@php.net Reported by: mytskine at gmail dot com Summary: HTML parsing breaks in Opera 12 because of an erroneous BASE tag -Status: Open +Status: Closed Type: Bug Package: Website problem PHP Version: Irrelevant -Assigned To: +Assigned To: bjori Block user comment: N Private report: N New Comment: Should be fixed now, thanks for the report! Previous Comments: ------------------------------------------------------------------------ [2013-11-21 17:12:25] bjori@php.net Wait, the <base> tag ending in a /foobar.php is actually a problem for Opera? Since when? This part of the website hasn't changed since 2002, maybe 2003... ------------------------------------------------------------------------ [2013-11-21 10:11:54] mytskine at gmail dot com Description: ------------ When loading the page http://php.net/manual/en/ (and possibly others) no CSS is applied with Opera 12. Removing the BASE tag from the header fixes the problem. There are 2 errors in this tag: 1. It should point to a base URL path, yet it ends with "index.php". 2. The tag should not be closed as the doctype isn't xhtml[^1][^2]. An alternative to fixing the tag would be to remove it completly as it is useless (at least on this page). [^1]: <http://www.w3.org/TR/html-markup/base.html> [^2]: <https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base> ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=66138&edit=1

« previous php.webmaster (#17154) next »