You asked:

facts about [parent plus attribute class: [carpet]; [red]]

Sorry, I don't yet have an answer to that question.