Mantis - Quercus
Viewing Issue Advanced Details
6032 minor always 01-11-17 06:00 01-11-17 06:00
FranckSerot  
 
normal  
new  
open  
none    
none  
0006032: [quercus / dokuwiki] quercus doesn't support sprite used in a dokuwiki project
Hi,
I try to test the project quercus with a dokuwiki project.

Please follow the process to reproduce the problem :
- clone the project from https://github.com/ieugen/quercus-sample. [^]
- update the quercus version from 4.0.39 to 4.0.45 (refer to the latest version available on https://mvnrepository.com/artifact/com.caucho/quercus). [^]
- start the project quercus-sample on a tomcat 8
- download the project dokuwiki with a microApache server from https://download.dokuwiki.org/. [^]
- import the directory dokuwiki in the directory quercus-sample/src/main/webapp
- restart the project quercus-sample on a tomcat 8

The dokuwiki starts correctly but the some images inside a sprite are not correctly used with the following import in the page /doku.php?id=wiki:welcome.

<link rel="stylesheet" type="text/css" href="/quercus-sample/lib/exe/css.php?t=dokuwiki&amp;tseed=7cc4ff12b304fe598f0b6ed669f8eb51"/>

Actual result :
#dokuwiki__pagetools ul li a.edit {
    background-position: right -90px * 1; => invalid property value
}
or
#dokuwiki__pagetools ul li a.edit:before {
    margin-top: -90px * 12; => invalid property value
}

The first image of the sprite is always used on the final page. :-(

Expected result :
#dokuwiki__pagetools ul li a.edit {
    background-position: right -90px;
}
or
#dokuwiki__pagetools ul li a.edit:before {
    margin-top: -1080px;
}

Best regards,
Franck

There are no notes attached to this issue.