- From: François REMY <fremycompany_pub@yahoo.fr>
- Date: Wed, 27 Aug 2008 21:12:30 +0200
- To: "fantasai" <fantasai.lists@inkedblade.net>, <www-style@w3.org>
- Message-ID: <C1EC774D4C644B7287FED2FC5572260B@fremycompany>
From: "fantasai" <fantasai.lists@inkedblade.net> Sent: Wednesday, August 27, 2008 8:23 PM To: <www-style@w3.org> Subject: [css3-fonts] Nested 'bolder' and 'lighter' question > > 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" because bolder should be the same as opening a brace : bolder { // Here we have bold bolder { // Here we have extra-bold, computed as bold which is the closest UI representation of extra-bold ligther { // Here we have bold } } } I've another proposal. But I don't know if it's possible. I joined here some images to show my idea in action (I used the 'Arial' font but as if this font doesn't have any bold mode). My proposal is to do an outline (0.5px for 'bold' from normal or 'extra-bold' from 'bold', 0.75px for 'extra-bold' from 'normal') to emulate a bolder mode that's not supported by the font. Ligther than normal : Normal : Bold : very light outline of 1px Extra-bold : normal outline of 1px Extra-extra-bold : important outline of 1px > > I would say bold, if I were being so bold. -- Andy Clarke > > I say it goes to normal. -- Molly Holzschlag > > ~fantasai > > > >
Attachments
Received on Wednesday, 27 August 2008 19:13:16 UTC