Implement style property retrieval with inheritance.