forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thorsten Scherler (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FOR-827) Weirdness in CSS after url
Date Tue, 14 Mar 2006 10:36:02 GMT
    [ http://issues.apache.org/jira/browse/FOR-827?page=comments#action_12370332 ] 

Thorsten Scherler commented on FOR-827:
---------------------------------------


Well, not really that is an old feature of forrest.
<map:match pattern="**.dispatcher.css">
        <map:generate src="cocoon:/resolve.structurer.{1}" type="jx">
          <map:parameter name="lenient-xpath" value="true" />
          <map:parameter name="getRequest" value="{1}" />
          <map:parameter name="getRequestExtension" value="css" />
        </map:generate>
        <map:transform type="dispatcher">
          <map:parameter name="request" value="{1}" />
          <map:parameter name="type" value="css" />
        </map:transform>
        <map:transform type="pattern" 
          src="{forrest:context}/resources/chaperon/grammars/link.xlex" />
        <map:transform 
          src="{forrest:context}/resources/chaperon/stylesheets/pattern2link.xsl" 
          />
        <map:serialize type="text" mime-type="text/css" />
      </map:match>

It is the link.xlex and pattern2link.xsl that is causing it. It actually should be the same
in skins.

See as well
http://issues.apache.org/jira/browse/FOR-744
http://issues.apache.org/jira/browse/FOR-745

> Weirdness in CSS after url
> --------------------------
>
>          Key: FOR-827
>          URL: http://issues.apache.org/jira/browse/FOR-827
>      Project: Forrest
>         Type: Bug
>   Components: Dispatcher (aka views)
>     Versions: 0.8-dev
>     Reporter: paul bolger
>     Priority: Minor

>
> Don't quite understand were this is coming from. It appears that Forrest is trying to
improve on my stylesheets...
> If a stylesheet contains a a URL, when referencing a background image in this particular
case, Forrest inserts an extra semicolon after the closing bracket containing the URL. This
is get-roundable normally, skip the semicolon, but it prevent the use of the shorthand background
property as the semicolon truncates the rule.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message