W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2006

[whatwg] Mathematics in HTML5

From: Michel Fortin <michel.fortin@michelf.com>
Date: Wed, 21 Jun 2006 15:54:28 -0400
Message-ID: <C95CC193-3D03-4195-9E6E-4DF11C68EB35@michelf.com>
Le 21 juin 2006 ? 12:00, White Lynx a ?crit :

> Michel Fortin wrote:
>
>> 4.  In the same reasoning, it would be great if there was a way  
>> adjacent
>>      elements could share the same horizontal space, like <sup>  
>> and  <sub>
>>      when they are next to each other:
>>
>>          C<sup>1</sup><sub>2</sub>
>
> To avoid changes on CSS side in current proposal
> this is achived via special HTML parsing rules that
> treat adjacent indices as stacked.
>
> <sup>1</sup><sub>2</sub> => <stack><sup>1</sup><sub>2</sub></stack>

I know that. But special parsing rules, just as new CSS properties,  
need changes to happen in the browser. If someone is going to improve  
the browser, it'd be much better to improve the presentational layer  
with a few reusable CSS rules than to add a collection of specific- 
case parser rules changing the DOM for presentational reasons.


>> I'd also add that better support for combining diacritics in
>> Unicode,  designed to stack over each other, would be great for
>> maths too.
>
> They already are expected to stack over each other.

And that's why I was asking for better support, not design, in the  
sentence above. I mentioned they were meant to stack in case someone  
missed that from one of the previous 195 messages of that very long  
thread, but I admit it could have been formulated better.


Michel Fortin
michel.fortin at michelf.com
http://www.michelf.com/
Received on Wednesday, 21 June 2006 12:54:28 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:27 UTC