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:
- 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:55Display change log