support multi-layer extended style sheets