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

Using alternate stylesheet doubles loading of style files

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 1.4 M1, 1.3.2
    • Fix Version/s: None
    • Component/s: Other
    • Labels:
      None
    • Similar issues:

      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

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

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response: