W3C home > Mailing lists > Public > www-math@w3.org > March 2014

Re: More questions on indentshift

From: Neil Soiffer <NeilS@dessci.com>
Date: Fri, 28 Mar 2014 10:22:44 -0700
Message-ID: <CAESRWkARLt4wkHH7Y4tP25v838tWLLc+BrQsfpJY6j0GxgbPDQ@mail.gmail.com>
To: "Davide P. Cervone" <dpvc@union.edu>
Cc: "www-math@w3.org" <www-math@w3.org>
The interpretation that it is a % of the layout width is (as you said) the
sensible interpretation and the one that MathPlayer took.  Note that the
layout width might be different when doing linebreaking inside of a table
element -- in that case it would be the column width.

It seems like this is a bug with the spec. I WG will need to figure out the
right way to adjust the spec. Speaking personally, I don't like the idea of
making an exception to the rule about %s and lengths, so I hope there is a
better way to handle this.

Neil Soiffer
Senior Scientist
Design Science, Inc.
www.dessci.com
~ Makers of MathType, MathFlow, MathPlayer, MathDaisy, Equation Editor ~


On Wed, Mar 19, 2014 at 11:48 AM, Davide P. Cervone <dpvc@union.edu> wrote:

> Folks:
>
> I asked a question last week about the interpretation of indentshift, and
> I'm afraid I have another one.
>
> The MathML3 test suite shows several examples with indentshift given as a
> percentage.  The MathML3 spec lists indentshift as a "length", and in the
> definition of a length, it says that a percentage means a percentage of the
> default value.  The default value for indentshift is "inherit (0)".  So it
> seems to me that an indentshift given as a percent should be a percentage
> of 0.  The examples in the MathML test suite seem to use the percentage as
> a percentage of the container (like HTML element widths).  That would make
> sense, but doesn't seem to be what the spec indicates.
>
> Does anyone have any suggestions on how to handle this?
>
> An example from the test suite is
>
>
> http://www.w3.org/Math/testsuite/build/main/Topics/LineBreak/linebreaking010-indentshift-full.xhtml
>
> where indentshift is set to 25% in the first style element.
>
> Davide
>
>
>
Received on Friday, 28 March 2014 17:23:12 UTC

This archive was generated by hypermail 2.3.1 : Friday, 28 March 2014 17:23:12 UTC