[whatwg] Mathematics in HTML5

White Lynx whitelynx at operamail.com
Sat Jun 10 02:18:18 PDT 2006


Michel Fortin wrote:
> But isn't this presentational instead of structural? Why not use
> 
>      <fence class="parenthesis">...</fence>
> 
> with the proper CSS for presentation? 

But fence is used not only for brackets, it may appear in other constructions like |absolute value|, ||norm||.

> I suppose one reason may lie in  
> the non-obviousness of implementing different kinds of fences styles  
> in CSS.

Another reason is that different bracket styles usually have different meanings, so this is sensitive 
information and transfering this kind of information to presentational layer makes it difficult to recover. 
In particular this may affect functionality of HTML-Math to LaTeX or HTML-Math to MathML convertors,
that are likely to be based on structural markup without paying any attention to what styling is actually
specified in style sheets.

-- 
_______________________________________________
Surf the Web in a faster, safer and easier way:
Download Opera 8 at http://www.opera.com

Powered by Outblaze



More information about the whatwg mailing list