Grups de Google ja no admet publicacions ni subscripcions noves de Usenet. El contingut antic es pot continuar consultant.

CSS Combinators [?] Broken Cascade Algorithm :: [^] Mozilla Updates

1 visualització
Ves al primer missatge no llegit

HwdSlle-encrypted

no llegida,
4 de nov. 2016, 12:18:344/11/16
a mozilla-d...@lists.mozilla.org
*.HostClass1.A_Class1 a:link {color:blue}*
*.HostClass1.A_Class2 a:link {color:green}*

*.HostClass2.A_Class1 a:link {color:red}*


*<div class="HostClass1 A_Class1"> <a href="">Link1</a> </div>*
*<div class="HostClass1 A_Class2"> <a href="">Link1</a> </div>*

*<div class="HostClass2 A_Class1"> <a href="">Link1</a> </div>*

the CSS are not able to identify the Combinations and the styles are lost;
even more if the css are placed at the end of the .css file from the header;

So for the credits of the Mozilla Firefox Browser (to Develop);
the suggestion is to have multiple cascading algorithm reading the document,
then just include a marker at the class something like::

*.HostClass1.A_Class1 a:link { restricted; color:blue }*

this manner just like to have exclusive like ID element styles;
*so what's going on?*
0 missatges nous