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

font-face content model

From: Cameron McCormack <cam@mcc.id.au>
Date: Wed, 5 Aug 2009 10:45:43 +1000
To: public-svg-wg@w3.org
Cc: chris@w3.org
Message-ID: <20090805004543.GB27267@wok.mcc.id.au>
I have ACTION-2543 to fix up the content model of the <font-face>
element to permit exactly one <font-face-src> element.  The relevant
minuted discussion is:

  http://www.w3.org/2009/05/04-svg-minutes.html#item03

Currently the spec says <font-face> allows at most one <font-face-src>
child.  There is some prose that says:

  When used to describe the characteristics of an SVG font contained
  within the same document, it is recommended that the ‘font-face’
  element be a child of the ‘font’ element it is describing so that the
  ‘font’ element can be self-contained and fully-described. In this
  case, any ‘font-face-src’ elements within the ‘font-face’ element are
  ignored as it is assumed that the ‘font-face’ element is describing
  the characteristics of its parent ‘font’ element.

So changing <font-face> to require a <font-face-src> child seems to
conflict with the above text.  Could someone (Chris?) confirm whether we
really should be changing the <font-face> content model like this?

-- 
Cameron McCormack ≝ http://mcc.id.au/
Received on Wednesday, 5 August 2009 00:46:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 5 August 2009 00:46:28 GMT