Re: Cleaning House

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 UTC