Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

1 view
Skip to first unread message

HwdSlle-encrypted

unread,
Nov 4, 2016, 12:18:34 PM11/4/16
to 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 new messages