Units-functions in CSS3

Hello,

I read CSS3 drafts, but I couldn't find anything about things I'm missing in
CSS - things like this:

- unit/value "same". This may be useful for keeping same (calculated) values
of properties in different objects while changing one of them (while
rendering, by a script, by user-interaction etc.) E.g.:

    #boxone { height:auto }
    #boxtwo { height:same(#boxone) }
or
    #boxone { height:same(#boxtwo) }
    #boxtwo { height:same(#boxone) }
or
    .boxes { width:same }   /* value = max. width of all .boxes */


- tools for "design inhertance". This means something like internal classes
to simplify CSS definitions and make them easily editable. E.g.:

    @class code { font-family:monospace; white-space:nowrap; color:#999; }
    .codetext1 { class:code; background:#f0f0f0; }
    .codetext2 { class:code; background:#e4e4e4; }
or
    .codetext { font-family:monospace; white-space:nowrap; color:#999; }
    .codetext1 { parent:.codetext; background:#f0f0f0; }
    .codetext2 { parent:.codetext; background:#e4e4e4; }
    

Did I miss something like this in the CSS3 drafts? Or, if not, is there a
way to discuss future implementation of similar features?


___________ ,_ ____________________________________________
Petr P. STANICEK                                 aka -pixy-

Received on Wednesday, 10 July 2002 12:10:29 UTC