I don't know if this is a midgard thing or Aegir thing
but here goes. When I create a child style, I never get
the contents of the <[ROOT]> style element from the parent
style imported into my new child style. All I get it a new <[ROOT]>
style element that only contains <(root)> element. No inheritance at all
from the parent. Is this a bug or feature?
:)


I just upgraded through windowsupdate.com to IE 6 service pack 1 and the problem is not fixed. I was seeing it in the page editor too, not just the style editor.


Actually this is an Aegir feature (it creates the ROOT element with <(content)> call when creating a style).


Child styles inherit their parents properties trough Midgard itself, so unless an element is overridden (element with the same name exists in the child style) the parent styles element is used (same principle works with page-elements so you can override an element on per page basis without having to create a child style, page-elements can also inherit to child pages but I'm not sure if Aegir UI supports it yet, for some unknown reason this feature was left out of the Nadmin UI).

Actually me and Bergie have thought of clarifying the documentation regarding the Midgard style engine and how it's supposed to be used, unfortunately there never seems to be enough time.

/Rambo


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to