new interface to get parent style context from selector-context