- From: David Carlisle <davidc@nag.co.uk>
- Date: Thu, 12 Jun 2014 17:12:02 +0100
- To: <www-math@w3.org>
- Message-ID: <5399D152.5070604@nag.co.uk>
On 12/06/2014 15:24, Daniel Marques wrote: > > Hello all, > > Just some doubts about mtext and maxwidth when the mtext is broader > than “maxwidth”. For example, given the following mathml, > > <math maxwidth=’50px’> > <mn>1000</mn> > <mtext>This is a long comment</mtext> > </math> > > My question is whether the result is something like: > > (a) > 1000 This is a long > comment > > or > > (b) > 1000 This is a long > comment > Breaking within mtext is covered by 3.1.7.1 which says > even within a token element such as a very long |mn| element. MathML > does not provide a means to specify such linebreaks, but if a render > chooses to linebreak at such a point, it should indent the following > line according to the indentation attributes > <http://www.w3.org/Math/draft-spec/mathml.html#chapter3_presm.lbindent.attrs> > that are in effect at that point. since indentalign defaults to auto there is some flexibility in what you should do but flush left seems reasonable to me you can force (b) without using css by setting up a new line breaking context via mtable <mn>100</mn><mtable><mtr><mtd><mtext>This is a long comment David
Received on Thursday, 12 June 2014 16:12:36 UTC