Re: CSS directives for the selector "mtext[href]"

Frédéric Wang <[email protected]> Wed, 18 Jul 2012 21:55:48 +0200
Newsgroups gmane.comp.mozilla.devel.mathml
Message-ID <[email protected]>
The color works for me when I use the HTML5 syntax.
The user agent style sheet has

:-moz-any-link {
   text-decoration: none !important;
}

which may prevent the text-decoration rule. This was to prevent the 
following bug:

https://bugzilla.mozilla.org/show_bug.cgi?id=504324

On 18/07/2012 21:41, William F Hammond wrote:
> Dear Friends,
>
> In connection with a MathJax discussion I took a look (with Firefox
> 14.0.1 in linux/ubuntu) at the following bit of CSS in the classical
> XHTML+MathML scenario:
>
>       mtext[href] {
>         color: #B00000;
>         text-decoration: underline ! important;
>       }
>
> It seems to be inert.  The matching elements are colored
> blue, rather than red, and not underlined.
>
> Any clues?
>
> Might there be something marked !important in front of it?
>
> Thanks.
>
>                                      -- Bill
>


-- 
Frédéric Wang maths-informatique-jeux.com/blog/frederic