W3C home > Mailing lists > Public > www-math@w3.org > March 2014

MathML CSS Fallback for Internet Explorer and Chrome [was: Math Working Group Charter]

From: Frédéric WANG <fred.wang@free.fr>
Date: Tue, 18 Mar 2014 12:30:57 +0100
Message-ID: <53282E71.5000800@free.fr>
To: www-math@w3.org
CC: Daniel Marques <dani@wiris.com>
Hi all,

Just to follow-up on this, I finally got a reply from Chrome developers 
and the patch landed today:
https://src.chromium.org/viewvc/blink?revision=169439&view=revision

Unfortunately, due to Blink's restrictions on UA stylesheet only a 
limited set of rules can be used:
https://src.chromium.org/viewvc/blink/trunk/Source/core/css/mathml.css

So essentially:
- the math element will respect the display=inline/block attribute 
(useful if you use an image fallback for example)
- If a semantics element is used, the MathML children are hidden, except 
the annotations (so unfortunately this means that all the annotations 
are displayed). See 
https://src.chromium.org/viewvc/blink/trunk/LayoutTests/mathml/fallback.html 
for examples of TeX/PNG fallback.

I haven't got any reply from Microsoft since the 31/01/2014:

https://connect.microsoft.com/IE/feedback/details/812595/add-some-css-rules-to-select-mathml-annotations-and-alttext

However, I see that people keep reporting bugs with missing MathML 
support & broken MathPlayer compatibility:
https://connect.microsoft.com/IE/SearchResults.aspx?SearchQuery=mathml


Le 19/02/2014 16:03, Frédéric WANG a écrit :
> Le 19/02/2014 15:52, Daniel Marques a écrit :
>> For example, the attribute altimg
>> (and the whole altXXX attribute family) of the top level <math> tag 
>> could be
>> easily supported by most browsers. By providing a good support of the
>> WAI-ARIA standard, any implementation of MathML (native or as an add-on)
>> will also benefit from it. It is our duty to push in this direction.
> For the altXXX attributes, I have reported some bugs and submitted 
> some proposals at the beginning of the year:
>
> - Chrome: https://code.google.com/p/chromium/issues/detail?id=324764 
> (and https://codereview.chromium.org/138383003)
> - IE: 
> https://connect.microsoft.com/IE/feedback/details/812595/add-some-css-rules-to-select-mathml-annotations-and-alttext
>
> I only got the automatic reply "Thank you for your feedback. We will 
> be investigating this issue further." from IE. For Chrome, the devs 
> were concerned about performance impact of adding CSS rules so I 
> submitted a restricted version that only implements the semantics 
> fallback. I didn't get any other reply so far.
>
> If anyone wants to push for this feature, please comment on these bug 
> entries.
>


-- 
Frédéric Wang
MathML Crowdfunding: ulule.com/mathematics-ebooks
Received on Tuesday, 18 March 2014 11:31:26 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 18 March 2014 11:31:27 UTC