::region() pseudo element polyfill