Details
-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
1.4 M1, 1.3.2
-
None
Description
When choosing an alternate stylesheet in XE we double loading of styles file.
Example:
- using toucan skin
- choose no style file
The header contains
<link href="/xwiki/bin/skin/skins/toucan/style.css" rel="stylesheet" type="text/css" />
- using toucan skin
- choose style-blue.css as style file
The header contains
<link href="/xwiki/bin/skin/skins/toucan/style%2Dblue.css" rel="stylesheet" type="text/css" />
<link href="/xwiki/skins/toucan/style.css" rel="alternate stylesheet" type="text/css" title="Alternate StyleSheet 1" />
This is bad.
Note the style.css is directly taken into skins/toucan and not into skin/skins/toucan/
All styles are loaded twice
Attachments
Issue Links
- duplicates
-
XWIKI-2330 Alternate stylesheets should always be served through the /skin/ action
- Closed