{"issue":{"state":"open","created_at":"2011-11-23T10:20:57Z","updated_at":"2011-11-28T11:46:00Z","user":{"gravatar_id":"2c4d5ca71a92e0860a78e4f9e50e4406","id":1042432,"url":"https://api.github.com/users/Chrisui","avatar_url":"https://secure.gravatar.com/avatar/2c4d5ca71a92e0860a78e4f9e50e4406?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"Chrisui"},"comments":3,"body":"I am currently having a problem where when inheriting a class within another class it seems to inherit styles from descendants of the inherited class. Mouthful? Logical explanation in code:\r\n\r\n    .bar_tabbed {\r\n\t    height: 30px;\r\n\t    .gradient(@block_colour, @block_colour_light, @block_colour);\r\n    }\r\n\r\n    .bar_tabbed form.compact input, .bar_tabbed form.compact select {\r\n\t    width: 100px;\r\n\t    margin-top: 4px;\r\n    }\r\n\r\n    .ui-dialog-titlebar {\r\n\t    .bar_tabbed;\r\n    }\r\n\r\nNow the problem is, when compiled (in browser using JS) , .ui-dialog-titlebar is given the width: 100px; and margin-top: 4px;\r\n\r\nPretty sure this shouldn't happen. And if it is meant to... WHY?!\r\n","assignee":null,"id":2328238,"labels":[],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":482,"title":"Inheritance problem","closed_at":null,"html_url":"https://github.com/cloudhead/less.js/issues/482","url":"https://api.github.com/repos/cloudhead/less.js/issues/482","milestone":null},"action":"created","comment":{"created_at":"2011-11-28T11:46:00Z","updated_at":"2011-11-28T11:46:00Z","user":{"gravatar_id":"98ef5a0b28bb88815ae768f10d42cf1e","id":519992,"url":"https://api.github.com/users/michal-m","avatar_url":"https://secure.gravatar.com/avatar/98ef5a0b28bb88815ae768f10d42cf1e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"michal-m"},"body":"You're absolutely right - this is an evident bug and should be fixed.\r\n\r\nSuggested server-side as it works fine for me this way (and it's better).","id":2895866,"url":"https://api.github.com/repos/cloudhead/less.js/issues/comments/2895866"}}