My problem is even bigger :(
as Simon Lessard already noticed in StyleSheetDocument, on line 477
the method: private StyleNode _resolveStyle(...) is really buggy
The problem is that it takes all the style definitions of a selector /
element in a 'random' order
and the properties in the first instances are being overwritten by the same
properties from the later instances
This is not good...
At least it would have been ... ok, if the definitions from the skin
extension style-sheet would have been last
but in my example, the base-desktop.xss seems to be last,
so even if I inhibit the annoying { margin-top: 8px } property in the skin,
it is still overwritten by the instance in base-desktop.xss, which is last
(so it has greater priority)
This is serious trouble
and I don't know how to override this behavior in my current project! (I
can't wait for a snapshot fix)
Can anybody suggest some solution?
Is there an issue on this problem ?
thanks,
Cristi Toth
-------------
Codebeat
www.codebeat.ro
On 8/10/07, Cristi Toth <[EMAIL PROTECTED]> wrote:
>
> Hi!
>
> I found a strange default value for IE browser: body { margin-top: 8px }
> in base-desktop.xss
> on line 3943:
>
> <styleSheet browsers="ie">
>
> <style selector="body">
> <property name="margin-top">8px</property>
> </style>
> ...
>
> Why on earth would anybody need this setting?
>
> I lost some valuable time on finding this...
> And its effect was really annoying!
>
>
> --
> Cristi Toth
> -------------
> Codebeat
> www.codebeat.ro
--