[ 
https://issues.apache.org/jira/browse/JSPWIKI-887?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14604624#comment-14604624
 ] 

Dave Koelmeyer commented on JSPWIKI-887:
----------------------------------------

Firefox console output follows, this is after having compiled with: mvn clean 
install -Dmaven.test.skip -Dminimize=false

{noformat}
GET 
https://wiki.apertura.co.nz/ITProjects/Wiki.jsp [HTTP/1.1 200 OK 1117ms]
GET 
https://wiki.apertura.co.nz/ITProjects/templates/haddock/haddock.css [HTTP/1.1 
304 Not Modified 234ms]
GET 
https://wiki.apertura.co.nz/ITProjects/scripts/haddock.js [HTTP/1.1 304 Not 
Modified 678ms]
Unknown pseudo-class or pseudo-element '-webkit-search-cancel-button'.  Ruleset 
ignored due to bad selector. haddock.css:154:22
Expected color but found 'auto'.  Expected color but found 
'-webkit-focus-ring-color'.  Expected end of value but found 
'-webkit-focus-ring-color'.  Error in parsing value for 'outline'.  Declaration 
dropped. haddock.css:208:15
Expected end of value but found '\9 '.  Error in parsing value for 
'margin-top'.  Declaration dropped. haddock.css:809:18
Expected color but found 'auto'.  Expected color but found 
'-webkit-focus-ring-color'.  Expected end of value but found 
'-webkit-focus-ring-color'.  Error in parsing value for 'outline'.  Declaration 
dropped. haddock.css:828:15
Unknown pseudo-class or pseudo-element '-webkit-outer-spin-button'.  Ruleset 
ignored due to bad selector. haddock.css:831:22
Unknown pseudo-class or pseudo-element '-ms-input-placeholder'.  Ruleset 
ignored due to bad selector. haddock.css:874:14
Unknown pseudo-class or pseudo-element '-webkit-input-placeholder'.  Ruleset 
ignored due to bad selector. haddock.css:877:15
Unknown property 'user-select'.  Declaration dropped. haddock.css:1137:13
Expected color but found 'auto'.  Expected color but found 
'-webkit-focus-ring-color'.  Expected end of value but found 
'-webkit-focus-ring-color'.  Error in parsing value for 'outline'.  Declaration 
dropped. haddock.css:1141:15
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:1162:10
Expected 'none', URL, or filter function but found 'progid'.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:1693:10
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:2045:10
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:2053:10
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:2538:10
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:2542:10
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:2610:10
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:2614:10
Error in parsing value for 'background-image'.  Declaration dropped. 
haddock.css:3034:20
Error in parsing value for 'background-image'.  Declaration dropped. 
haddock.css:3046:20
Error in parsing value for 'background-image'.  Declaration dropped. 
haddock.css:3053:20
Error in parsing value for 'background-image'.  Declaration dropped. 
haddock.css:3060:20
Error in parsing value for 'background-image'.  Declaration dropped. 
haddock.css:3067:20
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:3128:10
Error in parsing value for 'background-image'.  Declaration dropped. 
haddock.css:3135:20
Expected 'none', URL, or filter function but found 'progid'.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:3138:10
Error in parsing value for 'background-image'.  Declaration dropped. 
haddock.css:3143:20
Expected 'none', URL, or filter function but found 'progid'.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:3146:10
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:3154:10
Expected end of value but found '\9 '.  Error in parsing value for 
'background-color'.  Declaration dropped. haddock.css:3207:25
Unknown property 'user-select'.  Declaration dropped. haddock.css:3385:13
Expected color but found 'auto'.  Expected color but found 
'-webkit-focus-ring-color'.  Expected end of value but found 
'-webkit-focus-ring-color'.  Error in parsing value for 'outline'.  Declaration 
dropped. haddock.css:3400:15
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:3428:10
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:3495:10
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:3505:10
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:3514:10
Expected end of value but found '0'.  Error in parsing value for 'margin-top'.  
Declaration dropped. haddock.css:3566:19
Error in parsing value for 'font-weight'.  Declaration dropped. 
haddock.css:3677:15
Error in parsing value for 'background-image'.  Declaration dropped. 
haddock.css:3882:20
Error in parsing value for 'background-image'.  Declaration dropped. 
haddock.css:3889:20
Unknown property 'speak'.  Declaration dropped. haddock.css:4176:7
Unknown property '-moz-osx-font-smoothing'.  Declaration dropped. 
haddock.css:4185:25
Unknown property '-moz-osx-font-smoothing'.  Declaration dropped. 
haddock.css:4322:25
Expected end of selector or a user action pseudo-class after pseudo-element but 
found ':'.  Ruleset ignored due to bad selector. haddock.css:4330:19
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:4351:10
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:4357:10
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:4378:10
Error in parsing value for 'background-image'.  Declaration dropped. 
haddock.css:4381:20
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:4390:10
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:4408:10
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:4455:10
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:4461:10
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:4471:10
Error in parsing value for 'background-image'.  Declaration dropped. 
haddock.css:4503:20
Unknown property '-moz-osx-font-smoothing'.  Declaration dropped. 
haddock.css:4630:25
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:4671:10
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:4688:10
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:4716:10
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:4726:10
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:4735:10
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:4887:10
Error in parsing value for 'background-image'.  Declaration dropped. 
haddock.css:4892:20
Unknown property 'user-select'.  Declaration dropped. haddock.css:5054:13
Expected color but found 'auto'.  Expected color but found 
'-webkit-focus-ring-color'.  Expected end of value but found 
'-webkit-focus-ring-color'.  Error in parsing value for 'outline'.  Declaration 
dropped. haddock.css:5066:15
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:5087:10
Error in parsing value for 'background-image'.  Declaration dropped. 
haddock.css:5178:20
Error in parsing value for 'background-image'.  Declaration dropped. 
haddock.css:5211:20
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:5285:10
Unknown property 'user-select'.  Declaration dropped. haddock.css:5296:13
Unknown property 'user-select'.  Declaration dropped. haddock.css:5335:13
Error in parsing value for 'background-image'.  Declaration dropped. 
haddock.css:5401:20
Unknown property 'user-select'.  Declaration dropped. haddock.css:5436:13
Expected color but found 'auto'.  Expected color but found 
'-webkit-focus-ring-color'.  Expected end of value but found 
'-webkit-focus-ring-color'.  Error in parsing value for 'outline'.  Declaration 
dropped. haddock.css:5446:15
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:5467:10
Error in parsing value for 'background-image'.  Declaration dropped. 
haddock.css:5699:20
Error in parsing value for 'background-image'.  Declaration dropped. 
haddock.css:5711:20
Error in parsing value for 'background-image'.  Declaration dropped. 
haddock.css:5718:20
Error in parsing value for 'background-image'.  Declaration dropped. 
haddock.css:5725:20
Error in parsing value for 'background-image'.  Declaration dropped. 
haddock.css:5732:20
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:5900:10
Error in parsing value for 'background-image'.  Declaration dropped. 
haddock.css:5923:20
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:5932:10
Unknown property 'user-select'.  Declaration dropped. haddock.css:6089:13
Use of getAttributeNode() is deprecated. Use getAttribute() instead. 
haddock.js:3660:0
GET 
https://wiki.apertura.co.nz/ITProjects/images/out.png [HTTP/1.1 200 OK 226ms]
GET 
https://wiki.apertura.co.nz/ITProjects/attach/JSPWiki%20-%20the%20Haddock%20template/Apples.png
 [HTTP/1.1 200 OK 6561ms]
Use of getPreventDefault() is deprecated.  Use defaultPrevented instead. 
Wiki.jsp
{noformat}

>  Slimbox image style is not preserved using Haddock
> ---------------------------------------------------
>
>                 Key: JSPWIKI-887
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-887
>             Project: JSPWiki
>          Issue Type: Bug
>          Components: Templates and UI
>    Affects Versions: 2.10.2
>         Environment: Client is: 
> - Firefox 38 (Ubuntu 14.04). 
> Server is:
> - JSPWiki v2.10.2-svn-17 running in GlassFish v4
> - Container managed authentication is enabled using a file-based realm
> - HTTPS is enabled
> - JSPWiki policy is locked down such that only authenticated users have 
> access (both read and write)
>            Reporter: Dave Koelmeyer
>         Attachments: JSPWiki-Slimbox-2.mp4, JSPWiki-Slimbox.mp4
>
>
> I have an existing wiki installation (close to 300MB of data) using the 
> default template and Plain Vanilla skin. A good amount of content consists of 
> images, and these have been styled with the Slimbox feature 
> (https://jspwiki-wiki.apache.org/Wiki.jsp?page=Slimbox).
> Images styled using Slimbox don't appear to translate over to the Haddock 
> template, and instead the full-size image is displayed statically on the 
> page. 
> A sample markup snippet where this works using the default template, but not 
> on Haddock:
> {noformat}
> %%slimbox 
> |[|JSPWiki-Haddock-1.png]|[{Image src='JSPWiki-Haddock-1.png' width=300 
> align=center}] 
> %%
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to