Jeroen Coumans schrieb:
> Reini Urban said the following on 04/05/04 09:57:
>> Jeroen Coumans schrieb:
>>>>> As also said in the acompanied comments, the use of "wrap=virtual"
>>>>> is invalid XHTML.
>> We could try to detect NN4 and emit wrap=virtual only for this
>> user-agent. But then we'd have to turn off the valid XHTML icon also.
>> Would you like to work on this patch?
> I have no interest in supporting a browser whose rendering engine is
> from 1997 and chokes on anything resembling valid CSS or HTML4. See
> <http://www.alistapart.com/articles/netscape/> for a good argument why
> everyone should drop support for NN4.
I refuse to do that. Argument: http://www.anybrowser.org/campaign/
It's very easy to detect such an old browser and emit the necessary not
> Also, I suspect its userbase is
> less then 1% now (see eg. <http://www.google.com/press/zeitgeist.html>,
> <http://www.thecounter.com/stats/2004/March/browser.php> and
> <http://www.w3schools.com/browsers/browsers_stats.asp>). All show a
> steady decline of old browsers, which means that the time to drop
> support for them is a safe choice since quite some time and it's
> actually mandatory now if you wish to move forward.
> I would like to move the templates and any injected XHTML to
> XHTML-1.0-strict conformance and to @import the stylesheets. This means
> that old browsers, such as NN4 and IE4, don't see any of the stylesheets
> and will thus still be able to see all content, and we can use all
> advanced features of XHTML and CSS in our templates, thus creating more
> compatible, accessible, usable and cooler sites based on PhpWiki.
We already do that. Advanced features (for the latest browsers) are
@import'ed, while older browsers still got some food to display. I
haven't tested it with CSS support off lately, but it should look fine
for the "Portland" theme, which is such an ancient theme.
Testing other XHTML conformity, esp. in Templates was done some time
ago, and will be done on a regular basis. but not now, and not by me
probably. our internal php code (from core and plugins) is automatically
xhtml conformant. I know of no single other app which can say that.