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

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

From: Chris Lilley <chris@w3.org>
Date: Fri, 9 Jun 2006 16:38:40 +0200
Message-ID: <1991216612.20060609163840@w3.org>
To: www-svg@w3.org
Cc: Ian Hickson <ian@hixie.ch>

Hello www-svg,

 Ian Hickson <ian@hixie.ch>
> On Wed, 7 Jun 2006, Erik Dahlström 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.

> (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>



-- 
 Chris Lilley                    mailto:chris@w3.org
 Interaction Domain Leader
 Co-Chair, W3C SVG Working Group
 W3C Graphics Activity Lead
 Co-Chair, W3C Hypertext CG
Received on Friday, 9 June 2006 14:38:56 GMT

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