myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeanne Waldman <jeanne.wald...@oracle.com>
Subject Re: [Trinidad][Skinning] Transforming XSS files into CSS
Date Wed, 23 Dec 2009 00:04:17 GMT
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Probably an -tr- rule, like -tr-include-property ?<br>
<br>
Marius Petoi wrote, On 12/14/2009 11:43 PM PT:
<blockquote
 cite="mid:16f5365c0912142343t29897473hb9810ae138d6fda3@mail.gmail.com"
 type="cite">Ok, what should the syntax of the "includeProperty" in the
CSS be?<br>
  <br>
Marius<br>
  <br>
  <div class="gmail_quote">On Mon, Dec 14, 2009 at 7:27 PM, Jeanne
Waldman <span dir="ltr">&lt;<a moz-do-not-send="true"
 href="mailto:jeanne.waldman@oracle.com">jeanne.waldman@oracle.com</a>&gt;</span>
wrote:<br>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left:
1ex;"><br>
    <br>
Marius Petoi wrote, On 12/11/2009 1:14 AM PT:
    <div class="im"><br>
    <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left:
1ex;">
Hello,<br>
      <br>
This is related to the JIRA issue <a moz-do-not-send="true"
 href="https://issues.apache.org/jira/browse/TRINIDAD-1043"
 target="_blank">https://issues.apache.org/jira/browse/TRINIDAD-1043</a>,
regarding the replacement of legacy XSS files with CSS files in the
Tinidad skinning module. I have a couple of questions.<br>
      <br>
First of all, @import should be supported in CSS. What should the
syntax of @import be?<br>
    </blockquote>
    </div>
The syntax would probably be @import, but this is something we'd have
to have a discussion about on the dev list. This might be something we
don't need to port over right away if we combine our .xss files
correctly. I'm not sure without looking into it in detail.
    <div class="im"><br>
    <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left:
1ex;">
      <br>
My second question concerns the "includeProperty" tag from the XSS
files. Should this be supported in the CSS also? Or is the alias
mechanism covering this feature enough.<br>
    </blockquote>
    </div>
No, we do not have this feature yet in CSS. This should be supported as
well, I think, to be able to port the XSS files over to CSS. I think
this is more useful that @import.<br>
Here's an example of its usage from base-desktop.xss<br>
    <br>
    <br>
&nbsp;&lt;!-- AFVeryDarkForeground is the darkest foreground color in the
core (green)<br>
&nbsp; &nbsp; &nbsp;color ramp --&gt;<br>
&nbsp;&lt;style name="AFVeryDarkForeground"&gt;<br>
&nbsp; &lt;includeProperty name="AFVeryDarkBackground"<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;propertyName="background-color"<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;localPropertyName="color"/&gt;<br>
&nbsp;&lt;/style&gt;
    <div>
    <div class="h5"><br>
    <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left:
1ex;">
      <br>
Thank you in advance for your answers!<br>
      <br>
Marius<br>
    </blockquote>
    </div>
    </div>
  </blockquote>
  </div>
  <br>
</blockquote>
</body>
</html>

Mime
View raw message