incubator-adffaces-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Renzo Tomaselli <>
Subject [Trinidad] css generation and rule ordering
Date Sat, 30 Dec 2006 11:12:56 GMT
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<body bgcolor="#ffffff" text="#000000">
<font size="+1">Hi, I noticed that Trinidad CSS generation occurs
through some kind of optimization, which groups together CSS rules
having exactly the same contents. This mixes up component rules and
custom rules, thus scrambling their original postions.<br>
Since CSS rule matching is highly position-dependent, the above mixup
yields unpleasant side effects. E.i. html elements with multiple
classes get rendered by the last class attribute found in the CSS file.
If position changes, rendering can change.<br>
I worked around such issue by adding dummy rule elements, so that
comparison for merging fails and this works fine, since position is
Is there any cleaner way to prevent this scrambling or can we even
disable it at all ?<br>
Thanks -- Renzo<br>

View raw message