[css3-text] Forbidding color/style after 'none' or 'remove-all'

The syntax for 'text-decoration' currently allows:

    text-decoration: none yellow wavy

It could probably forbid the useless color and style with a syntax that 
is only slightly longer:

    text-decoration: [ <decoration-line> ||
      <text-decoration-color> || <text-decoration-style> ||
      blink ] | none | remove-all

with 'text-decoration-line' defined as

    text-decoration-line: none | remove-all | <decoration-line>

and

    <decoration-line> = underline | no-underline |
      replace-underline ] || [ overline | no-overline |
      replace-overline ] || [ line-through | no-line-through |
      replace-line-through



Bert
-- 
  Bert Bos                                ( W 3 C ) http://www.w3.org/
  http://www.w3.org/people/bos                               W3C/ERCIM
  bert@w3.org                             2004 Rt des Lucioles / BP 93
  +33 (0)4 92 38 76 92            06902 Sophia Antipolis Cedex, France

Received on Monday, 12 December 2011 14:43:50 UTC