https://bz.apache.org/bugzilla/show_bug.cgi?id=63905

--- Comment #19 from Christopher Schultz <ch...@christopherschultz.net> ---
(In reply to Michael Osipov from comment #18)
> (In reply to Christopher Schultz from comment #17)
> > (In reply to Michael Osipov from comment #15)
> > > (In reply to Christopher Schultz from comment #14)
> > > > This should all really be replaced by external stylesheets, for a few
> > > > reasons:
> > > > 
> > > > 1. They are trivially changed by administrators instead of hacking Java 
> > > > code
> > > > 2. They can be completely blocked, replaced, etc. by a reverse proxy if
> > > > desired
> > > > 3. They are more compatible with a desire to reduce response entity byte
> > > > count
> > > > 4. They can be used with a "safe" CSF policies[1]
> > > 
> > > I agree here, but this is far more work than I do now at the moment.
> > 
> > Honestly, I see this as easy:
> > 
> > 1. Move CSS definitions to [whatever.css]
> > 1. Change all CSS to <link rel="stylesheet" href="[whatever.css]" />
> 
> It is not that easy. TOMCAT_CSS is used in multiple locations. You have to
> make sure that they are present for several components.

So use TOMCAT_EXTERNAL_CSS as a replacement, and only implement it in e.g.
DefaultServlet. No need to re-write all of Tomcat's use of CSS at once.

-- 
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