Camino 1.0
Camino 1.0 is out. And it finally joins the rest of the Mozilla family in supporting MathML.
It’s quite fast, and has a bunch of slick features1. All in all, it’s a very attractive Cocoa-based browser, a worthy alternative to Safari.
For those who are keeping track, my rule for selecting the MIME-type with which to these pages is
RewriteRule ^$ index.shtml RewriteCond %{HTTP_USER_AGENT} Gecko|W3C.*Validator|MathPlayer RewriteRule \.html$|\.shtml$ - [T=application/xhtml+xml] RewriteCond %{HTTP_USER_AGENT} Chimera|Camino/0|KHTML RewriteRule \.html$|\.shtml$ - [T=text/html]
which says that the W3C Validator, Gecko-based browsers (including Camino 1.0 and above), and IE6 (and above) with the MathPlayer plugin installed, receive application/xhtml+xml
. Everyone else receives text/html
. Technically, late-model versions of Opera and Safari could handle application/xhtml+xml
. But there’s no point, so I don’t bother.
Update (2/19/2006):
At Zack Ajmal’s urging, I’ve shifted to sendingapplication/xhtml+xml
to all UAs with that in their Accept
header. My rewrite rule isRewriteRule ^$ index.shtml RewriteCond %{HTTP_ACCEPT} application\/xhtml\+xml [OR] RewriteCond %{HTTP_USER_AGENT} W3C.*Validator|MathPlayer RewriteRule \.html$|\.shtml$ - [T=application/xhtml+xml]
This change currently only benefits users of Opera 9. But, hopefully, Safari will get fixed someday, too. The bottom line is that, if you don’t see 平和と静けさ displayed in an attractive shade of green, then your browser is — in some fashion or other — defective.
1 That’s the good news. The not-so-good news is that, like Firefox 1.5, it now contains the still-rather-crappy builtin SVG renderer. This make a mess of the SVG figures I include in various blog posts hereabouts. Notably, it
- Has no support for the SVG Font Module.
- Doesn’t support ViewPort Size negotiation.
Opera’s builtin SVG renderer, and the one in the Safari Nightly builds, have the same problems.
There’s a workaround for the second problem. Adobe Illustrator outputs SVG files which say something like
<svg width="345" height="249" viewBox="0 0 345 249">
If one changes this to
<svg width="100%" height="100%" viewBox="0 0 345 249">
they will scale OK in Firefox/Camino and Opera. I’ve done that with the figures here at Musings, but it’s really a bad idea. Instead, the Mozilla, Opera and Safari people should fix their SVG renderers. And, while they’re at it, they can implement the Font Module…
In the meantime, if you have the Adobe SVG plugin installed, you can disable the builtin SVG renderer by going to about:config
and setting svg.enabled
to false
.
Re: Camino 1.0
Why don’t you rewrite on HTTP_ACCEPT like explained in
The Road to XHTML 2.0: MIME Types ?
I’m thinking of doing something similar to that article, but perhaps you know something I don’t.