W3C home > Mailing lists > Public > www-math@w3.org > August 2004

Re: MathML in CSS

From: White Lynx <whitelynx@operamail.com>
Date: Sat, 07 Aug 2004 14:18:22 +0400
To: "Bruce Miller" <bruce.miller@nist.gov>
Cc: www-math@w3.org
Message-Id: <20040807101822.BFC4521B32F@ws5-6.us4.outblaze.com>

Below are some remarks on annotations in your style sheet
http://math.nist.gov/~BMiller/mathml-css/style/mathml.css
> It sounds like vertical-align:middle should do it?
> middle should align middle of frac (which _might_ be the bar :> )
> with the baseline + 0.5ex ... but Opera doesn't seem to do it.
Opera handles vertical-align:middle; correctly apart of the cases
when several inline-tables (or inline-blocks) with different height
appear on one line. It is known bug
http://geocities.com/csssite/operabugs/bug1.xml
Unfortunately it remains unfixed for almost two years and creates a lot of problems :(
It would be nice if you ask Ian Hickson to increase bug's priority
(bug number is #92946).

> mfrac>*  { display:table-row!important; }
> /* NOTE: Selectivity bug in Opera ???
> The !important shouldn't be needed here, right??? 
> (to overrule earlier rules like mn {display:inline; } ) */
Yep, it is known bug :(
http://my.opera.com/forums/showthread.php?s=&threadid=42187

> NOTE: Vertical alignment of vertical-align:sub|super doesn't seem 
> to reliably take the base heights into account (maybe Opera 7.51 bug?)
No, I don't think that it is bug.

> munderover                           { display:inline-table; }
> munderover>*                         { display:table-row; }
> munderover>nth-child(2+n)            { font-size:smaller; }
> munderover>*:nth-child(1)::alternate { move-to:munderover; }
> munderover>*:nth-child(2)::alternate { move-to:munderover; }
> munderover>*:nth-child(3)::after     { content:pending(munderover); }

CSS2 based solution is also possible.
munderover		{display:inline-table;}
munderover > *		{display:table-row;}
munderover > * + * + *	{display:table-caption;caption-side:top;}

Best wishes,
George 

-- 
_____________________________________________________________
Web-based SMS services available at http://www.operamail.com.
>From your mailbox to local or overseas cell phones.

Powered by Outblaze
Received on Saturday, 7 August 2004 10:18:53 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:13:40 UTC