Does any upcoming draft of the CSS spec support setting text color based on the underlying color of the container element?
For example, my theme allows a user to customize the background color of elements as well as text. However, I'd like to provide a fallback in the event that I default a section's text color to white (as an example) and they change the background for that section to white. In that case, its difficult to tell that there is actually text there.
This is probably something that can be addressed with jQuery, but I'm curious if anything exists in the css spec working groups to handle it.
I seriously doubt such a property would ever be given token consideration. CSS is a markup for designers - and mechanisms for allowing your users to design their own layout have no place in the markup.
This topic is now closed. New replies are no longer allowed.