Re: Displaystyle and mtable

Le 11/06/2014 17:01, Davide P. Cervone a écrit :
> Here, the elements that automatically adjust displaystyle are the 
> script and limit elements, mfrac, and mroot (note that mtable is not 
> listed here).  The mstyle element can modify the value, and an 
> explicit displaystyle on mtable can set the value.  All other cases 
> inherit the value.  So this section does not support the reading that 
> mtable automatically modifies displaystyle.
>
> My own feeling is that, as you describe above, the sentence is 
> essentially irrelevant, and I think that the spec actually DOES say 
> that the displaystyle value on mtable is inherited unless it is 
> modified by an explicit displaystyle attribute on mtable.  In that 
> reading, sections 3.3.4.1 and 3.1.6 are consistent, though the 
> sentence about displaystyle in 3.3.4.1 is redundant.  Your reading 
> causes 3.3.4.1 and 3.1.6 to be inconsistent.  What the authors of the 
> spec actually intended, I'm not sure.  I guess we'll have to await 
> word from the committee on that.

I don't think section 3.1.6 contradicts 3.3.4.1 with my reading. It just 
says that an *explicit* displaystyle on mtable can set the value. When 
the attribute is absent, we fallback to the "in all other cases, they 
are inherited from the node's parent". So the sentence 'If the attribute 
is not present, the mtable element sets displaystyle to "false" within 
the table elements.' is either in irrelevant or contradicts the normal 
inheritance in section 3.1.6. So I would suggest to drop it to avoid any 
confusion.

-- 
Frédéric Wang
maths-informatique-jeux.com/blog/frederic

Received on Wednesday, 11 June 2014 15:22:46 UTC