A details polyfill that actually works well