Uploaded image for project: '{RETIRED} XWiki Enterprise'
  1. {RETIRED} XWiki Enterprise
  2. XE-236

Using alternate stylesheet doubles loading of style files

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 1.4 M1, 1.3.2
    • Other
    • 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

          Activity

            People

              sdumitriu Sergiu Dumitriu
              ludovic Ludovic Dubost
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: