W3C home > Mailing lists > Public > www-style@w3.org > May 2007

Re: Cleaning House

From: Christoph Päper <christoph.paeper@crissov.de>
Date: Mon, 7 May 2007 01:04:39 +0200
Message-Id: <0BBBC98D-72A0-426A-B4FE-B3AFD14A8BEE@crissov.de>
To: www-style CSS <www-style@w3.org>

Dão Gottwald, 2007-05-07 in www-html + public-html (Re: Cleaning House):
> Benjamin Hawkes-Lewis schrieb:
>
>> If AT had better support for CSS, and CSS had style selectors,  
>> we'd be in a slightly happier place:
>
> Ah, style selectors once again ...
>
>   :style("font-style:normal") {
>     font-style: italic;
>   }
>   :style("font-style:italic") {
>     font-style: normal;
>   }
>
> See what happens?

You are right, this cannot work, but

   foo {
     font-style: italic;
     font-style: toggle(italic, normal);
   }

or some such might, although this still wouldn't give me the  
possibility to tie italics to serif fonts, boldface to sans-serif  
fonts, underlining to handwriting (cursive) fonts and uppercase to  
monospaced fonts to render emphasis.
Received on Sunday, 6 May 2007 23:04:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:50 GMT