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.

Received on Tuesday, 30 December 2003 20:27:27 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:10 UTC