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

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 UTC