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? :) > > fantasai wrote: >> Given >> >> <a> >> Text A >> <b style="font-weight: bolder"> >> Text B >> <c style="font-weight: bolder"> >> Text C >> <d style="font-weight: lighter"> >> Text D >> </d> >> </c> >> </b> >> </a> >> >> If you have three different weights in your font (normal, bold, >> extra-bold) then >> - Text A will be normal >> - Text B will be bold >> - Text C will be extra-bold >> - Text D will be bold >> >> If you have only two weights in your font (normal, bold) then >> - Text A will be normal >> - Text B will be bold >> - Text C will be bold >> >> What should Text D be? Bold or normal? > > I would say bold, if I were being so bold. -- Andy Clarke > > I say it goes to normal. -- Molly Holzschlag Mathematically speaking, I think of it like this: normal = 0, bolder = +1, lighter = -1 So, bold values: A = 0, B = 1, C = 2, D = 1 D is bold, in both cases. With a two-weight font, it must be assumed that anything with a value greater than 0 must be bold, 0 or lower is normal. The assumption has to be that if the author wanted normal (0), s/he would have specified a reset, or normal. It's the reverse of this argument: <a>Text A <b style="font-weight: lighter">Text B (-1) <c style="font-weight: lighter">Text C (-2) <d style="font-weight: bolder">Text D (-1) </d> </c> </b> </a> D would have to be normal in this case, not bold. If no options existed for setting bold or normal, I would agree that bolder=bold and that lighter=normal, but since there are options for setting those values, I don't see how one can extrapolate any other meaning for the author than by using the math. Or am I missing something completely? -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TheHolierGrail.com | MacNimble.com | Cyber-Sandbox.com | Anytowne.com Bill Brown, Web Developer - "From dot concept to dot com since 1999" "The intuitive mind is a sacred gift and the rational mind is a faithful servant. We have created a society that honors the servant and has forgotten the gift. -- Albert Einstein ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Received on Thursday, 28 August 2008 03:34:05 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:11 GMT