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

Re: Cleaning House

From: Dão Gottwald <dao@design-noir.de>
Date: Mon, 07 May 2007 01:10:45 +0200
Message-ID: <463E6075.7020803@design-noir.de>
To: Benjamin Hawkes-Lewis <bhawkeslewis@googlemail.com>
CC: www-html@w3.org, public-html@w3.org

Benjamin Hawkes-Lewis schrieb:
> Dão Gottwald wrote:
>> 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?
> 
> Hmm. Wouldn't that only be problematic if an equal weight has to be 
> given to both rules?

No, the weight doesn't matter at all. Those rules never apply to the 
same element simultaneously. Once its state changed according to one 
rule, the other one applies.

> Alternatively, one could require UAs to ignore self-contradictory 
> property declarations used with style selectors.

I thought removing the font style of otherwise-italic text inside of 
italic text was the goal.

--Dao
Received on Sunday, 6 May 2007 23:10:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:10 GMT