Some kinda starting poc on Tab Atkins Cascading Attribute Sheets http://www.xanthir.com/blog/b4K_0