On Wed, 27 Sep 2006, Roger B. Sidje wrote:
> 
> I don't like mlabeledtr very much (I have already expressed my views 
> about it to folks of the MathML WG), and would hope that they will take 
> my suggestion for <mtr label="..."> in MathML3. The former is 
> unnecessarily bloated and doesn't degrade gracefully at all with 
> renderers that don't support it (not to mention that it is hard to fit 
> in Gecko's existing table code).

I'm happy to drop/add any tag to this list. Just give me the list you 
want.


> However, your list misses some key tags, in particular leaf tags such as 
> <mspace/> -- which is sometimes quite useful. Also, <mprescripts/> and 
> <none/> are needed in <mmultiscripts> (albeit it can be argued that 
> <none/> is the same as <mrow></mrow> or an empty <mspace/>, but the 
> differentiation is worthwhile).

I missed anything that wasn't in the table I happened upon in the spec. I 
didn't look very closely for the exact table I wanted.

Tell me what tags you want to have and we'll make that the list. You're 
the expert. :-)


> Implementation-wise, as this inclusion of MathML-in-HTML5 marks the 
> beginning of tag soup, it may be that the HTML parser would have to have 
> some knowledge of leaf tags, so that for example, a stray <mspace> 
> doesn't become the root of an entire HTML tree... which is later fed to 
> the hapless MathML engine. (The patch I attached in bug 353926 ignored 
> the issue.)

Don't worry, these tags auto-close when a parent tag is closed.

   <foo><bar><baz></foo><quux>

...results in this DOM:

   <foo>
     <bar>
       <baz>
   <quux>

For leaf nodes with following siblings, people will have to use end tags, 
as in:

   <foo><bar></bar><baz></baz></foo><quux></quux>

If we want to start adding actual leaf tags, I'd rather do this in a 
second stage, after we have a proof of concept. (I've so far avoided 
adding any new tags to the HTML5 parser spec, but eventually there will be 
a bunch we have to add.)

We can go from non-empty to empty much more easily than from empty to 
non-empty.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to