fantasai wrote: > > The spec isn't clear on what exactly happens here, so the CSSWG > decided to ask web designers what they expect. So far I have two > responses and they don't match. Anyone else have an opinion? :) It's easier to see if you re-cast the example to use classes rather than inline styles : <a> Text A <b class="bolder"> Text B <c class="bolder"> Text C <d class="lighter"> Text D </d> </c> </b> </a> Then assume this style fragment : .bolder {font-weight: bolder} .lighter {font-weight: lighter} From this alone, it is reasonably clear that the designer wants anything of class "lighter" to be lighter than the immediately surrounding material (and analogously for "bolder"). His wish is defeated at Text C, because there is no bolder font available, but can be honoured everywhere else, including at Text D. Thus Text D will be lighter than Text C, Text C will be bold, and therefore Text D will be normal. Philip TAYLORReceived on Thursday, 28 August 2008 14:30:40 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:11 GMT