W3C home > Mailing lists > Public > www-svg@w3.org > November 2013

SVG spec bug: "min" attribute values should be greater than *or equal to* 0

From: Daniel Holbert <dholbert@mozilla.com>
Date: Wed, 20 Nov 2013 14:29:40 -0800
Message-ID: <528D37D4.7040604@mozilla.com>
To: "www-svg@w3.org" <www-svg@w3.org>
Hi www-svg,

I think I found a spec bug.

SVG versions 1.1, 1.2, and 2 all say the following about the "min"
attribute for animation elements (with minor wording differences):

 # Value must be greater than 0.
 # [...]
 # The default value for 'min' is '0'.
Spec references:
  http://www.w3.org/TR/SVG11/animate.html#MinAttribute
  http://www.w3.org/TR/SVGTiny12/animate.html#MinAttribute
  http://www.w3.org/TR/SVG2/animate.html#MinAttribute

This is a contradiction. The attribute's default value, 0, flatly does
not satisfy the "greater than 0" requirement.

SO: presumably the spec wants to say "greater than *or equal to* 0", yes?

The SMIL spec (which these all refer to as "the normative definition for
this attribute") does say "greater than or equal to 0", FWIW:
  http://www.w3.org/TR/2001/REC-smil-animation-20010904/#MinMax

Thanks,
~Daniel
Received on Wednesday, 20 November 2013 22:30:07 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:54:47 UTC