Hello all,
Here is the proposal of message for the CSS WG I think we should
send. Comments highly welcome! Since all CSS WG technical chats
happen in
www-...@w3.org, the message would be posted there.
</Daniel>
----
[EPUB WG Invited Expert hat on]
Hello CSS WG,
The EPUB Working Group has a rather big issue with MathML content
embedded into content documents inside an EPUB package: legacy
readers are unable to process MathML *including* the altimg attribute
on the math element that provides an image fallback. And content
publishers are not ready to embed MathML content if legacy readers are
not able to display a fallback. Added to that situation, JavaScript is
rarely available into such reading systems so fallback cannot be
triggered from embedded JS code. Since those legacy reading systems
can't be modified anyway, there is no available way for us to hide
mathml content and let only the fallback image, whatever the way
it is included, appear.
This is a rather blocking issue for scientific publishers at this time.
After long discussions in the EPUB WG, we came to the conclusion
a feasible way of solving the issue would be through a new Media Query
"detecting" MathML support. We could then assign 'display: none' to the
math element and a non-none display to an image fallback sibling
for legacy reading systems and have that new MQ assign a non-none
display value to the math element and 'display: none' to the image
fallback sibling if MathML is implemented.
Legacy reading systems would of course through away that new Media
Query, allowing the default styles hidding MathML content to work.
We then suggest the following MQ for level 4:
Name: 'mathml'
For: '@media'
Value: yes | no
Type: discrete
We may have to add 'presentational' and 'content' extra values to
query the support for the two flavors of MathML, I'm leaving that to
be discussed.
In substance, it's rather similar to the 'scripting' MQ and is also
based on a capability of the rendering engine.
Looking forward to reading your comments.
</Daniel>