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

CSS directives for the selector "mtext[href]"

13 views
Skip to first unread message

William F Hammond

unread,
Jul 18, 2012, 3:41:17 PM7/18/12
to Mozilla Math Developers
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

unread,
Jul 18, 2012, 3:55:48 PM7/18/12
to William F Hammond, Mozilla Math Developers
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
--
Fr�d�ric Wang maths-informatique-jeux.com/blog/frederic

Frédéric Wang

unread,
Jul 18, 2012, 3:55:48 PM7/18/12
to William F Hammond, Mozilla Math Developers
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:
0 new messages