support for inherit on attributes
specifically needed for visibility but should work for other attributes