implements CSS.supports() with polyfill.