W3C home > Mailing lists > Public > public-svg-wg@w3.org > April to June 2009

ISSUE-2257 (pAR-rng-regex): Regex for preserveAspectRatio in 1.2T RNG is wrong [SVG Tiny 1.2]

From: SVG Working Group Issue Tracker <sysbot+tracker@w3.org>
Date: Thu, 9 Apr 2009 10:07:32 -0400 (EDT)
To: public-svg-wg@w3.org
Message-Id: <20090409140732.199BE4DD62@crusher.w3.org>

ISSUE-2257 (pAR-rng-regex): Regex for preserveAspectRatio in 1.2T RNG is wrong [SVG Tiny 1.2]

http://www.w3.org/Graphics/SVG/WG/track/issues/2257

Raised by: Cameron McCormack
On product: SVG Tiny 1.2

The 1.2T RNG contains the following definition for the 'preserveAspectRatio' attribute:

  <define name='svg.PAR.attr' combine='interleave'>
    <optional>
      <attribute name='preserveAspectRatio' svg:animatable='true' svg:inheritable='false'>
        <data type='string'>
          <param name='pattern'>\s*(none|xMidYMid)\s*(meet)?\s*</param>
        </data>
      </attribute>
    </optional>
  </define>

The regex there seems quite wrong; it misses out the optional "defer" keyword, and also most of the various <align> keywords.
Received on Thursday, 9 April 2009 14:07:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 9 April 2009 14:07:42 GMT