W3C home > Mailing lists > Public > www-style@w3.org > December 2003

Re: [CSS] Rules for parsing and compatibility

From: Stanimir Stamenkov <stanio@myrealbox.com>
Date: Wed, 31 Dec 2003 03:27:24 +0200
Message-ID: <3FF225FC.5090702@myrealbox.com>
To: www-style@w3.org

Boris Zbarsky wrote:

> Or if it can't be applied? 
>  What does "applied" mean?

Probably cases where there is declaration which doesn't apply for 
the current element, like 'margin-top' for 'inline' element or may 
be property for different kind of media not supported by the 
particular UA, but that shouldn't be taken into account because:

  * in the first case: 'margin-top' is assigned and could be applied 
later if the element become 'block' element. Further, there may are 
and in practice there are always broken implementations and nobody 
is aiming to invent an AI for detecting such UA errors to be 
incorporated in the CSS spec.

  * in the second case: authors should be noted they shouldn't mix 
properties applying to different kind of media because a particular 
UA could possibly not understand them therefore invalidating the 
other declarations.

Generally such "test" blocks should are relatively short and most of 
the style would go in the "normal" style sheet.

-- 
Stanimir
Received on Tuesday, 30 December 2003 20:27:27 GMT

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