CSS – class `inherit` property?

Would it be practical for an `inherit` property in the CSS standard? The name is merely a suggestion, but it may become confusing since “inherit” is used as a value, so the name is just an example O_o)

The property I’m proposing is a class inheritance property…..

.heading {
color:#990000;
border: 1px solid #aaaaaa;
font-size:140%;
}

.article-heading {
inherit: ‘.heading’;
border-width:0px 0px 4px 0px;
font-size:120%;
}

also, I’m focusing on class inheritance, since ID inheritance would not make much sense semantically. (.-.  )

Is it practical or would it cause unnecessary re-parsing / back-tracking on page load?

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Before you comment here, note that this forum is moderated and your IP address is sent to Akismet, the plugin we use to mitigate spam comments.