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

<textArea> in 1.2T RNG

From: Cameron McCormack <cam@mcc.id.au>
Date: Tue, 12 May 2009 17:12:05 +1000
To: public-svg-wg@w3.org
Message-ID: <20090512071205.GI7734@arc.mcc.id.au>
The <textArea> element in the SVG 1.2 Tiny RNG is defined as:

  <element name='textArea'>
    <ref name='textArea.AT'/>
    <zeroOrMore>
      <choice>
        <element name='tspan'>
          <ref name='tspan.AT'/>
          <zeroOrMore>
            <choice>
              <ref name='tbreak'/>
              <ref name='svg.TextCommon.group'/>
            </choice>
          </zeroOrMore>
        </element>
        <ref name='svg.TextCommon.group'/>
      </choice>
    </zeroOrMore>
  </element>

AFAICT, since svg.TextCommon.group does not allow a <tbreak> in it, this
disallows content such as:

  <textArea>
    <tbreak/>
  </textArea>

and:

  <textArea>
    <tspan>
      <tspan><tbreak></tspan>
    </tspan>
  </textArea>

both of which are used by tests in the test suite.

-- 
Cameron McCormack ≝ http://mcc.id.au/
Received on Tuesday, 12 May 2009 07:22:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 12 May 2009 07:22:47 GMT