Re: ambiguity of grammar for font shorthand?

2009-09-23 Thread Vincent Hennebert
Hi Tony, Tony Graham wrote: On Mon, Sep 21 2009 23:30:17 +0100, jonathan.levin...@intersystems.com wrote: ... If inherit is allowed to be a value then the grammar truly becomes ambiguous since each of these can have the value inherit and we don?t know which ones are omitted and must take

Re: ambiguity of grammar for font shorthand?

2009-09-23 Thread Peter B. West
On 23/09/2009, at 8:18 PM, Vincent Hennebert wrote: Hi Tony, Tony Graham wrote: On Mon, Sep 21 2009 23:30:17 +0100, jonathan.levin...@intersystems.com wrote: ... If inherit is allowed to be a value then the grammar truly becomes ambiguous since each of these can have the value inherit

Re: ambiguity of grammar for font shorthand?

2009-09-22 Thread Alexander Kiel
Hi, Also, in your message you said we could ignore a value for font of caption, icon, etc., as the standard tells us to do, but the standard discusses these values and their relation to system fonts. Was this an oversight on your part or am I mis-reading the spec? [1] [1]

Re: ambiguity of grammar for font shorthand?

2009-09-22 Thread Alexander Kiel
Hi, I think it is probably the case that in the context of the font short hand – the font properties cannot take the value of inherit, since this renders the grammar irreducibly ambiguous. While such an exclusion is not mentioned in the spec, it makes sense that inherit must be excluded

Re: ambiguity of grammar for font shorthand?

2009-09-22 Thread Vincent Hennebert
Hi Jonathan, Jonathan Levinson wrote: Hi Vincent, As I read the grammar for the font shorthand it is ambiguous, though not fatally so as long as one excludes the value of inherit from individual properties in the font short hand. For instance the first optional argument is

RE: ambiguity of grammar for font shorthand?

2009-09-22 Thread Jonathan Levinson
Message- From: Vincent Hennebert [mailto:vhenneb...@gmail.com] Sent: Tuesday, September 22, 2009 7:20 AM To: fop-dev@xmlgraphics.apache.org Subject: Re: ambiguity of grammar for font shorthand? Hi Jonathan, Jonathan Levinson wrote: Hi Vincent, As I read the grammar for the font

Re: ambiguity of grammar for font shorthand?

2009-09-22 Thread Peter B. West
On 23/09/2009, at 12:13 AM, Jonathan Levinson wrote: Hi Vincent, You make excellent points, however for font-style, font-variant and font-weight the initial value (the default value) is normal, not inherit. http://www.w3.org/TR/2001/REC-xsl-20011015/slice7.html#font-style

Re: ambiguity of grammar for font shorthand?

2009-09-22 Thread Vincent Hennebert
Hi Jonathan, Jonathan Levinson wrote: Hi Vincent, You make excellent points, however for font-style, font-variant and font-weight the initial value (the default value) is normal, not inherit. http://www.w3.org/TR/2001/REC-xsl-20011015/slice7.html#font-style

Re: ambiguity of grammar for font shorthand?

2009-09-22 Thread Tony Graham
On Mon, Sep 21 2009 23:30:17 +0100, jonathan.levin...@intersystems.com wrote: ... If inherit is allowed to be a value then the grammar truly becomes ambiguous since each of these can have the value inherit and we don?t know which ones are omitted and must take the value normal. 'inherit'

ambiguity of grammar for font shorthand?

2009-09-21 Thread Jonathan Levinson
Hi Vincent, As I read the grammar for the font shorthand it is ambiguous, though not fatally so as long as one excludes the value of inherit from individual properties in the font short hand. For instance the first optional argument is font-style, font-weight, and font-variant, each of