[whatwg] Mathematics in HTML5

Michel Fortin michel.fortin at michelf.com
Fri Jun 9 08:59:45 PDT 2006


Le 9 juin 2006 à 4:20, White Lynx a écrit :

> Michel Fortin wrote:
>> Well, now that I think of it, there will be some problems with any
>> pure CSS implementation (for current browsers at least, but maybe
>> with CSS3 too). Aligning fraction separators correctly with the base
>> line when <num> and <den> do not have the same height for instance: I
>> don't see a way to fine-tune that without JavaScript.
>
> It is not a problem at all  (also it took some time to figure out  
> whether CSS can render arbitrary
> complex fractions). In CSS2.1 there are two different ways to  
> render fractions
> (one of them even works in MSIE) similar approach exists in XSL FO
> See http://www.geocities.com/chavchan/css/annotated.css
> for details. Generally speaking everything that we propose can be  
> consistently rendered with CSS2.1.
> This is the main point of proposal.

Ah! I see now. I wasn't looking at it in the right browser, and  
somehow missed the explanations in the stylesheet. Great!


Michel Fortin
michel.fortin at michelf.com
http://www.michelf.com/




More information about the whatwg mailing list