ISSUE-2257: Regex for preserveAspectRatio in 1.2T RNG is wrong

pAR-rng-regex

Regex for preserveAspectRatio in 1.2T RNG is wrong

State:
RAISED
Product:
SVG Tiny 1.2
Raised by:
Cameron McCormack
Opened on:
2009-04-09
Description:
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.
Related Actions Items:
No related actions
Related emails:
  1. ISSUE-2257 (pAR-rng-regex): Regex for preserveAspectRatio in 1.2T RNG is wrong [SVG Tiny 1.2] (from sysbot+tracker@w3.org on 2009-04-09)

Related notes:

[heycam]: The regex also allows a value of "nonemeet" which shouldn't be allowed.

10 Apr 2009, 00:22:55

Display change log ATOM feed


Dirk Schulze <dschulze@adobe.com>, Chair, Chris Lilley <chris@w3.org>, Staff Contact
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: 2257.html,v 1.1 2020/01/17 13:20:42 carcone Exp $