Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (10 sloc) 843 Bytes

feature: status: caution tags: polyfill kind: html polyfillurls:dialog-polyfill

The <dialog> element can be used to create popup dialogs or modal dialogs for web applications, and is part of HTML 5.1. In its modal mode, it blocks all access to content behind the front-most dialog.

The majority of Google's polyfill goes towards preventing the browser from gaining focus or accessing content behind the dialog. You should consider that the preventative measures taken by the polyfill are not exhaustive, as they are not implemented natively.

Supported in Chrome 37+ and Opera 24+, tracked for Firefox.