Tests inheritance of transition-property.