Re: Is "0" valid for all XSL-FO lengths?

On 12 January 2014 13:01, Tony Graham <tgraham@mentea.net> wrote:

> To answer my own questions, I think 'border-top-width="0"' is allowed by
> XSL 1.1 since it derives from a CSS2 property and has an explicit link to
> the CSS2 definition.
>
> I think it should also be allowed for all <length> (and <space>, etc.) so
> it is internally consistent: I don't think anybody would want to have to
> remember which are the properties for which "0" is valid and for which it
> isn't.  It would also make it consistent with both SVG and CSS.

Picking up on this and taking it further, the nonsensical irregularity of
the properties has always irked.
  One thing we could do is 'regularise' them.

My favourite moan is the hard link to CSS.
Even worse, the color syntax 'mess'.

regards




-- 
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk

Received on Tuesday, 14 January 2014 14:13:58 UTC