W3C home > Mailing lists > Public > www-xsl-fo@w3.org > December 2010

rec 1.1 7.7.4

From: Dave Pawson <dave.pawson@gmail.com>
Date: Fri, 10 Dec 2010 09:16:29 +0000
Message-ID: <AANLkTimet0LwVDCJgThYeuY9uiVo5c2YW+Tf=mjBm036@mail.gmail.com>
To: www-xsl-fo@w3.org
http://www.w3.org/TR/xsl/#text-decoration

Notation used

CSS2 Definition:
Value: 	none | [ [ underline | no-underline] || [ overline |
no-overline ] || [ line-through | no-line-through ] || [ blink |
no-blink ] ] | inherit

Doesn't make much sense to me as a content model?

What does || mean? Are they alternataives? Why are two bars necessary.

Replacing them with single bar would make it consistent with the
remainder of the models?

none |
   [
       [ underline | no-underline]
       || [ overline | no-overline ]
       || [ line-through | no-line-through ]
       || [ blink | no-blink ]
   ] |
  inherit

becomes

none |
   [
       [ underline | no-underline]
       | [ overline | no-overline ]
       | [ line-through | no-line-through ]
       | [ blink | no-blink ]
   ] |
  inherit

Is it really necessary to copy CSS fancies?


regards


-- 
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk
Received on Friday, 10 December 2010 09:16:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 10 December 2010 09:16:57 GMT