We're in a dilemma as to whether to server XHTML documents as application/xhtml+xml
, which is correct, or text/html
, which is wrong, but more widely supported. This morning I did some testing on various browsers to see what woks and what doesn't:
MIME type application/xhtml+xml
Browser | IMT pages | Text pages | Search |
Firefox 2 | OK | No BG image | OK |
Opera 9 | OK | Note link bounces to bottom (target: pseudo-class not supported) | Fails (nothing shows up, no errors) |
Safari | Popups work, but no annotation menu | Links don't work | Links don't work |
MIME type text/html
Browser | IMT pages | Text pages | Search |
Firefox 2 | OK | OK | OK |
Opera 9 | OK | Note link bounces to bottom (target: pseudo-class not supported) | Fails (nothing shows up, no errors) |
Safari | OK | OK | Links don't work |
The results suggest that we really have no choice about using text/html
, and even there, we have some problems with AJAX in Safari and Opera which need to be addressed.