now depend properly on CSSOM
re-organizing for further document and separate public & private & internal
fix compression support