Bug #66138 [NEW]: HTML parsing breaks in Opera 12 because of an erroneous BASE tag
| From: | mytskine at gmail dot com | Date: | Thu, 21 Nov 2013 10:11:54 +0000 |
| Subject: | Bug #66138 [NEW]: HTML parsing breaks in Opera 12 because of an erroneous BASE tag | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-17146@lists.php.net to get a copy of this message | ||
From: mytskine at gmail dot com
Operating system:
PHP version: Irrelevant
Package: Website problem
Bug Type: Bug
Bug description:HTML parsing breaks in Opera 12 because of an erroneous BASE tag
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 bug report at https://bugs.php.net/bug.php?id=66138&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=66138&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=66138&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=66138&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=66138&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=66138&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=66138&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=66138&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=66138&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=66138&r=support
Expected behavior: https://bugs.php.net/fix.php?id=66138&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=66138&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=66138&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=66138&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=66138&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=66138&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=66138&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=66138&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=66138&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=66138&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=66138&r=mysqlcfg