id summary reporter owner description type status priority milestone component version severity resolution keywords cc branch changelog apichanges internalchanges 1908 add_stylesheet() should be able to handle plugin's resource Shunichi Goto Christopher Lenz "In r2064, `trac.web.chrome.add_stylesheet()` always makes a href to standard htdocs location. So [source:/branches/jonas-dev/webadmin webadmin] and [http://trac-hacks.swapoff.org/wiki/EggCookingTutorial helloworldplugin] cannot use its own css file. Attached patch checks whether the specified stylesheet file is in trac's standard htdocs directory. If exist, makes href `/trac/css/xxx.cs`, or `/proj/chrome/css/xxx.cs`. BTW, This means plugin cannot override existing one. Is it good? I think it might be ok that we always make link via `/proj/chrome/`... " defect closed high 0.9 general devel normal fixed chrome