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

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

Hi Dirk, 

Here's the Firefox console output with error logging enabled for Net, CSS, JS, 
Security and Logging:

{noformat}
Unknown pseudo-class or pseudo-element '-webkit-search-cancel-button'.  Ruleset 
ignored due to bad selector. haddock.css:1:1559
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:1:2393
Expected end of value but found '\9 '.  Error in parsing value for 
'margin-top'.  Declaration dropped. haddock.css:1:11821
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:1:12103
Unknown pseudo-class or pseudo-element '-webkit-outer-spin-button'.  Ruleset 
ignored due to bad selector. haddock.css:1:12175
Unknown pseudo-class or pseudo-element '-ms-input-placeholder'.  Ruleset 
ignored due to bad selector. haddock.css:1:13154
Unknown pseudo-class or pseudo-element '-webkit-input-placeholder'.  Ruleset 
ignored due to bad selector. haddock.css:1:13202
Unknown property 'user-select'.  Declaration dropped. haddock.css:1:18171
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:1:18220
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:1:18589
Expected 'none', URL, or filter function but found 'progid'.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:1:29162
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:1:36783
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:1:36892
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:1:45374
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:1:45428
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:1:46410
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:1:46457
Error in parsing value for 'background-image'.  Declaration dropped. 
haddock.css:1:52899
Error in parsing value for 'background-image'.  Declaration dropped. 
haddock.css:1:53521
Error in parsing value for 'background-image'.  Declaration dropped. 
haddock.css:1:53972
Error in parsing value for 'background-image'.  Declaration dropped. 
haddock.css:1:54429
Error in parsing value for 'background-image'.  Declaration dropped. 
haddock.css:1:54884
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:1:56045
Error in parsing value for 'background-image'.  Declaration dropped. 
haddock.css:1:56185
Expected 'none', URL, or filter function but found 'progid'.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:1:56400
Error in parsing value for 'background-image'.  Declaration dropped. 
haddock.css:1:56568
Expected 'none', URL, or filter function but found 'progid'.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:1:56783
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:1:57000
Expected end of value but found '\9 '.  Error in parsing value for 
'background-color'.  Declaration dropped. haddock.css:1:57941
Unknown property 'user-select'.  Declaration dropped. haddock.css:1:60211
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:1:60474
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:1:61040
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:1:62597
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:1:62748
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:1:62909
Expected end of value but found '0'.  Error in parsing value for 'margin-top'.  
Declaration dropped. haddock.css:1:63509
Error in parsing value for 'font-weight'.  Declaration dropped. 
haddock.css:1:64922
Error in parsing value for 'background-image'.  Declaration dropped. 
haddock.css:1:67652
Error in parsing value for 'background-image'.  Declaration dropped. 
haddock.css:1:68194
Unknown property 'speak'.  Declaration dropped. haddock.css:1:73628
Unknown property '-moz-osx-font-smoothing'.  Declaration dropped. 
haddock.css:1:73820
Unknown property '-moz-osx-font-smoothing'.  Declaration dropped. 
haddock.css:1:75762
Expected end of selector or a user action pseudo-class after pseudo-element but 
found ':'.  Ruleset ignored due to bad selector. haddock.css:1:75883
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:1:76147
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:1:76242
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:1:76654
Error in parsing value for 'background-image'.  Declaration dropped. 
haddock.css:1:76723
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:1:77147
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:1:77666
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:1:78472
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:1:78588
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:1:78722
Error in parsing value for 'background-image'.  Declaration dropped. 
haddock.css:1:79327
Unknown property '-moz-osx-font-smoothing'.  Declaration dropped. 
haddock.css:1:81213
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:1:81863
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:1:82225
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:1:82597
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:1:82745
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:1:82947
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:1:85033
Error in parsing value for 'background-image'.  Declaration dropped. 
haddock.css:1:85154
Unknown property 'user-select'.  Declaration dropped. haddock.css:1:88105
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:1:88303
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:1:88742
Error in parsing value for 'background-image'.  Declaration dropped. 
haddock.css:1:90744
Error in parsing value for 'background-image'.  Declaration dropped. 
haddock.css:1:91699
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:1:93555
Unknown property 'user-select'.  Declaration dropped. haddock.css:1:93740
Unknown property 'user-select'.  Declaration dropped. haddock.css:1:94396
Error in parsing value for 'background-image'.  Declaration dropped. 
haddock.css:1:95450
Unknown property 'user-select'.  Declaration dropped. haddock.css:1:96316
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:1:96517
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:1:96956
Error in parsing value for 'background-image'.  Declaration dropped. 
haddock.css:1:100674
Error in parsing value for 'background-image'.  Declaration dropped. 
haddock.css:1:101281
Error in parsing value for 'background-image'.  Declaration dropped. 
haddock.css:1:101732
Error in parsing value for 'background-image'.  Declaration dropped. 
haddock.css:1:102189
Error in parsing value for 'background-image'.  Declaration dropped. 
haddock.css:1:102644
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:1:105636
Error in parsing value for 'background-image'.  Declaration dropped. 
haddock.css:1:105983
Expected 'none', URL, or filter function but found 'alpha('.  Error in parsing 
value for 'filter'.  Declaration dropped. haddock.css:1:106549
Unknown property 'user-select'.  Declaration dropped. haddock.css:1:108679
Use of getAttributeNode() is deprecated. Use getAttribute() instead. 
haddock.js:1:0
TypeError: e.Findpages is not a constructor haddock.js:1:151909
{noformat}

Slimbox markup for the above is:

{noformat}
%%slimbox 
|[|Apples.jpg]|[{Image src='Apples.jpg' width=300 align=center}] 
%%
{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
>
> 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