- From: Boris Zbarsky <bzbarsky@mit.edu>
- Date: Fri, 09 Jun 2006 14:54:34 -0500
- 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"/> </g> </svg> 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). -Boris
Received on Friday, 9 June 2006 19:54:46 UTC