W3C home > Mailing lists > Public > www-svg@w3.org > June 2006

Re: SVG12: computed value of font-weight vs uDOM

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 9 Jun 2006 18:51:29 +0000 (UTC)
To: Chris Lilley <chris@w3.org>
Cc: www-svg@w3.org
Message-ID: <Pine.LNX.4.62.0606091848370.10282@dhalsim.dreamhost.com>

On Fri, 9 Jun 2006, Chris Lilley wrote:
> > >
> > > The WG agrees and the sentence "SVG does not specify how the 
> > > computed value of font-weight is represented internally or 
> > > externally." has been removed from the specification.
> > 
> > So what is the computed value of 'font-weight' on the element with ID 
> > 'x' in the example below, according to SVG 1.2 Tiny?
> > 
> >    <svg xmlns="http://www.w3.org/2000/svg" font-weight="100">
> >      <g font-weight="bolder">
> >        <g font-weight="bolder" id="x">
> >      </g>
> >    </svg>
> 
> It will be a numerical value; the precise value would depend on the font 
> and what weights it provides.

In that case SVG is incompatible with CSS. Please correct this 
incompatibility. (See the last few paragraphs of CSS 2.1 section 15.6 to 
see the formal definition of font-weight's computed value.)


> > (Please quote the text that you are using to answer this question,
> > since the specification has changed since the last publication.)
> 
> <dt class="label">bolder</dt>
> <dd><p>Specifies the next weight that is assigned to a font that is
> darker than the inherited one. If there is no such weight, it simply
> results in the next darker numerical value (and the font remains
> unchanged), unless the inherited value was "900", in which case the
> resulting weight is also "900".</p></dd>

The word "computed" doesn't appear in this paragraph, so clearly it can't 
be defining the computed value.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 9 June 2006 18:51:51 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:34 GMT