May I remind that the space between two selectors *is* significant.

Hope this helps

Nicolas Granon



> -----Message d'origine-----
> De : Harbs [mailto:harbs.li...@gmail.com]
> Envoyé : vendredi 1 juin 2018 10:40
> À : dev@royale.apache.org
> Objet : Descendent selector issue
> 
> TitleBar has the following CSS in defaults:
> 
> TitleBar .TitleBarTitle {
>       font-weight: bold;
>       padding: 0;
>       margin: 0;
> }
> 
> This seems to cause the CSS to be always output even if TitleBar is not
> used.
> 
> Interestingly, the following CSS
> ToggleTextButton.selected
> {
>       background-color: #d8d8d8;
>       border: 1px solid #808080;
>       padding: 4px;
> }
> 
> does get omitted if ToggleTextButton is not used.
> 
> Is it correct to assume that this is a bug and if the parent/ancestor
> the selector is not used, the CSS should be omitted?
> 
> Harbs

Reply via email to