https://issues.apache.org/bugzilla/show_bug.cgi?id=55383

--- Comment #15 from Mark Thomas <ma...@apache.org> ---
(In reply to Konstantin Preißer from comment #14)
> Hi,
> 
> I noticed that when viewing the doc XML source files from SVN over HTTP,
> like changlog.xml:
>   http://svn.apache.org/repos/asf/tomcat/trunk/webapps/docs/changelog.xml
> then the CSS is not applied. Firefox logs an error about wrong MIME type
> (text/plain instead of text/css).
> 
> This is probably because I forgot to set the correct MIME type on the .css
> stylesheet. I think the following change should fix it:
> 
> Index: webapps/docs/images/docs-stylesheet.css
> ===================================================================
> --- webapps/docs/images/docs-stylesheet.css   (revision 1517925)
> +++ webapps/docs/images/docs-stylesheet.css   (working copy)
> 
> Property changes on: webapps/docs/images/docs-stylesheet.css
> ___________________________________________________________________
> Added: svn:mime-type
> ## -0,0 +1 ##
> +text/css
> \ No newline at end of property

Fixed.

> BTW, what do you think about switching from HTML to XHTML for the docs of
> Tomcat 8 (or next major release)?

Not yet. Some surveys suggest as many as 30% of browsers are IE < 9. That is
too big a chunk of the user base to exclude from the docs.

A better analysis would be to look at the access logs for the Tomcat docs. I'm
unlikely to have the time to do that for a while.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to