Illegal CSS in phpinfo() output
| Bug #23912 | Illegal CSS in phpinfo() output | ||||
|---|---|---|---|---|---|
| Submitted: | 2003-05-30 19:28 UTC | Modified: | 2003-06-02 19:07 UTC | ||
| From: | fischer at lavielle dot com | Assigned: | iliaa (profile) | ||
| Status: | Closed | Package: | *General Issues | ||
| PHP Version: | 4.3.2 | OS: | Mac OS X (All?) | ||
| Private report: | No | CVE-ID: | None | ||
[2003-05-30 19:28 UTC] fischer at lavielle dot com
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
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2003-05-30 21:03 UTC] iliaa@php.net
[2003-06-02 19:07 UTC] iliaa@php.net