- From: Andrew Fedoniouk <news@terrainformatica.com>
- Date: Tue, 29 Jun 2004 09:29:12 -0700
- To: "Orion Adrian" <oadrian@hotmail.com>, <lachlan.hunt@lachy.id.au>
- Cc: <www-style@w3.org>
Hi, Orion,
Your idea belongs to "object oriented " style.
My idea was in functional style.
selector1*
{
display: inline;
}
selector2*
{
display: block ( parameters-of-block-layout-function ) ;
}
example:
div
{
display: block ( float:left; overflow:hidden ) ;
}
so later you can safely cascade/override display attribute and say
div
{
display: inline;
}
Andrew Feoniouk.
>
> >>selector* {
> >> @block {
> >> rule-that-only-applies-to-block-elements: value;
> >> rule-that-only-applies-to-block-elements: value;
> >> }
> >> rule-that-applies-to-any-element: value;
> >>}
> >
> > You cannot select an element based on a value of a CSS property, so
this
> >would not work.
> >
> >What would happen with this?
> >@block { display: inline; }
>
> well given that the display property has been rolled into a @ block, the
> following would be ignored. Pretty simple actually. Display would no
longer
> be a rule, but rather be an @ rule.
>
> Orion Adrian
>
>
Received on Tuesday, 29 June 2004 12:29:34 UTC