Re: stretching in both directions [was Operator Dictionary MathML 2 vs. MathML 3]

> If I am reading the spec correctly, the follow vertical arrow should
> stretch both horizontally and vertically.
>  <mo stretchy="true">&UpArrow;<mo>

As the stretching defaults are system defined, it would (just about) be
conformant behaviour if did that but it would be contrary to expectations
and pretty unhelpful. The expectation is, as it says in the text you
quoted, that characters are marked as stretching in at most 1 direction
in almost all cases. So vertical arrows should just stretch vertically,
otherwise they are unusable.


> When stretchy="true" is not explicitly specified, I'm imagining an
> implementation that only stretches in the expected direction by
> having the renderer choose which directions to stretch by default
> based on the operator.

If an implementation sets stretch=true as the default in its operator
dictionary, use of the character with stretchy="true" should be the same
as use without the stretch attribute.

> But should I be concerned about unexpected behavior if
> stretchy="true" is explicitly specified?

Yes, it shouldn't happen!


> Should the renderer be expected to keep of list of all the
> operators that it will respect the stretchy request and in which
> directions it will respect the request?

yes.

David
(personal response not checked with the WG, we have a phone conference
this afternoon, I'll get thsi added to the eagenda...)



________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________

Received on Thursday, 24 September 2009 09:12:07 UTC