Last Comment Bug 827039 - MathML operators ignore text shadow
: MathML operators ignore text shadow
Status: NEW
:
Product: Core
Classification: Components
Component: MathML (show other bugs)
: Trunk
: All All
: -- normal with 2 votes (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
:
: Anthony Jones (:kentuckyfriedtakahe, :k17e)
Mentors:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-05 11:54 PST by Patrick Westerhoff
Modified: 2013-01-12 07:30 PST (History)
2 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
MathML shadow test case (363 bytes, text/html)
2013-01-05 11:54 PST, Patrick Westerhoff
no flags Details

Description Patrick Westerhoff 2013-01-05 11:54:44 PST
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.
Comment 1 Frédéric Wang (:fredw) 2013-01-05 13:56:16 PST
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...

Note You need to log in before you can comment on or make changes to this bug.