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

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

From: Boris Zbarsky <bzbarsky@mit.edu>
Date: Fri, 09 Jun 2006 14:54:34 -0500
Message-ID: <4489D1FA.4030308@mit.edu>
To: Chris Lilley <chris@w3.org>
CC: www-svg@w3.org, Ian Hickson <ian@hixie.ch>

Chris Lilley wrote:
>  Ian Hickson <ian@hixie.ch>
>> 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.

So in the following markup:

<svg xmlns="http://www.w3.org/2000/svg" font-weight="100">
   <g font-weight="bolder" id="a" font-family="Helvetica">
     <g font-weight="bolder" id="b" font-family="Times"/>
     <g font-weight="bolder" id="c" font-family="Courier"/>

the computed font-weight for the element with id="c" depends on the Helvetica 
fonts available?  That doesn't make much sense to me, and contradicts CSS2.1 
(though CSS2 could be read in the way you propose, if one wanted to have this 
wacky behavior).

Received on Friday, 9 June 2006 19:54:46 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:08 UTC