From: fischer at lavielle dot com
Operating system: Mac OS X (All?)
PHP version: 4.3.2
PHP Bug Type: Unknown/Other Function
Bug description: Illegal CSS in phpinfo() output
In the file php-4.3.2/ext/standard/css.c line 40 the
CSS reads:
PUTS(".center th { text-align: center; !important
}\n");
It should read:
PUTS(".center th { text-align: center !important;
}\n");
(note the position of the semicolon, which should
follow the word important)
Check out <http://www.w3.org/TR/CSS2/grammar.html> for
the official word on where the semicolon should go. I
interpret my correction to be correct and the fix
resolves the bug in Safari.
This mistake makes Safari render the output very
different to what was intended.
Mike
--
Edit bug report at http://bugs.php.net/?id=23912&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=23912&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=23912&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=23912&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=23912&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=23912&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=23912&r=support
Expected behavior: http://bugs.php.net/fix.php?id=23912&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=23912&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=23912&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=23912&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23912&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=23912&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=23912&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=23912&r=gnused