{"id":213,"date":"2012-07-02T20:40:00","date_gmt":"2012-07-02T20:40:00","guid":{"rendered":"http:\/\/www.w3.org\/community\/forum\/?p=213"},"modified":"2012-07-02T20:40:00","modified_gmt":"2012-07-02T20:40:00","slug":"css-class-inherit-property","status":"publish","type":"post","link":"https:\/\/www.w3.org\/community\/forum\/2012\/07\/02\/css-class-inherit-property\/","title":{"rendered":"CSS &#8211; class `inherit` property?"},"content":{"rendered":"<p>Would it be practical for an `inherit` property in the CSS standard? The name is merely a suggestion, but it may become confusing since &#8220;inherit&#8221; is used as a value, so the name is just an example O_o)<\/p>\n<p>The property I&#8217;m proposing is a class inheritance property&#8230;..<\/p>\n<p>.heading {<br \/>\ncolor:#990000;<br \/>\nborder: 1px solid #aaaaaa;<br \/>\nfont-size:140%;<br \/>\n}<\/p>\n<p>.article-heading {<br \/>\ninherit: &#8216;.heading&#8217;;<br \/>\nborder-width:0px 0px 4px 0px;<br \/>\nfont-size:120%;<br \/>\n}<\/p>\n<p>also, I&#8217;m focusing on class inheritance, since ID inheritance would not make much sense semantically. (.-.\u00a0 )<\/p>\n<p>Is it practical or would it cause unnecessary re-parsing \/ back-tracking on page load?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Would it be practical for an `inherit` property in the CSS standard? The name is merely a suggestion, but it may become confusing since &#8220;inherit&#8221; is used as a value, so the name is just an example O_o) The property &hellip; <a href=\"https:\/\/www.w3.org\/community\/forum\/2012\/07\/02\/css-class-inherit-property\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2619,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-213","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.w3.org\/community\/forum\/wp-json\/wp\/v2\/posts\/213","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.w3.org\/community\/forum\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.w3.org\/community\/forum\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.w3.org\/community\/forum\/wp-json\/wp\/v2\/users\/2619"}],"replies":[{"embeddable":true,"href":"https:\/\/www.w3.org\/community\/forum\/wp-json\/wp\/v2\/comments?post=213"}],"version-history":[{"count":1,"href":"https:\/\/www.w3.org\/community\/forum\/wp-json\/wp\/v2\/posts\/213\/revisions"}],"predecessor-version":[{"id":214,"href":"https:\/\/www.w3.org\/community\/forum\/wp-json\/wp\/v2\/posts\/213\/revisions\/214"}],"wp:attachment":[{"href":"https:\/\/www.w3.org\/community\/forum\/wp-json\/wp\/v2\/media?parent=213"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.w3.org\/community\/forum\/wp-json\/wp\/v2\/categories?post=213"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.w3.org\/community\/forum\/wp-json\/wp\/v2\/tags?post=213"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}