ISSUE-2257

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:

2009-04-10 00:22:55: [heycam]: The regex also allows a value of "nonemeet" which shouldn't be allowed.

Display change log ATOM feed


Erik Dahlström <ed@opera.com>, Cameron McCormack <cam@mcc.id.au>, Chairs, Chris Lilley <chris@w3.org>, Doug Schepers <schepers@w3.org>, Staff Contacts
Tracker, originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: index.php,v 1.231 2009/11/16 15:00:54 dom Exp $