A simple example if you are interested in how it works on Chrome. http://codepen.io/astleychen/pen/Obqzrr <http://codepen.io/astleychen/pen/Obqzrr>
—-- Best Regards, Astley Chen | Mozilla Taiwan On 21 Dec 2016, at 8:21 AM, Xidorn Quan <[email protected]> wrote: On Wed, Dec 21, 2016, at 11:12 AM, Mats Palmgren wrote: > Hi Tim, can you describe how the modality of dialog.showModal() works? > Does a web page have the power to block the user from interacting > with the entire browser (all windows)? Or is it just one window? > or just one tab? or something else? It just blocks the same document it is in (not even the tab if the document is in iframe). A modal <dialog> is just another normal HTML element with some special rendering (and focusing) rules. - Xidorn _______________________________________________ dev-platform mailing list [email protected] https://lists.mozilla.org/listinfo/dev-platform _______________________________________________ dev-platform mailing list [email protected] https://lists.mozilla.org/listinfo/dev-platform

