MathML operators ignore text shadow

NEW
Unassigned

Status

()

Core
MathML
4 years ago
4 years ago

People

(Reporter: Patrick Westerhoff, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

4 years ago
Created attachment 698325 [details]
MathML shadow test case

I have a globally set text-shadow on my HTML. THe text shadow is carried over correctly to all MathML elements, except for operators (everything inside `mo` elements) and implicit symbols created by e.g. `mfenced` elements.

I also tried setting the text-shadow directly for the `mo` elements, but the property is completely ignored (other properties work as expected).

This might be related to bug 759462, as that one is also about different behaviour for `mo` elements.

A test case is attached.
(Reporter)

Updated

4 years ago
Attachment #698325 - Attachment mime type: text/plain → text/html
Yes, as in bug 759462 the relevant elements to look at are:

https://hg.mozilla.org/mozilla-central/rev/ff353339df3

This includes <mo> characters drawn with nsMathMLChar, fraction bar/slash, root bars and menclose graphical elements.

One will have to use the appropriate GetStyle* function to get the shadow style but the complicated part will be to implement the drawing of the shadow...
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 7 → All
Hardware: x86_64 → All
Version: 20 Branch → Trunk
You need to log in before you can comment on or make changes to this bug.