dialog element shipped in Chrome 37 Beta
Google Developers Logo

Missed the Chrome Developer Summit?

All sessions available on demand - Watch Now

Chrome Beta has landed its native support for <dialog> element without needing “Enable experimental Web Platform features.” flag turned on.

Check out more sample codes and how it works in detail with a live demo.

There are a few changes applied to the implementation since the last announcement but notable one is:

  • Non-modal <dialog> is no longer vertically centered in the viewport. It has no special positioning behavior beyond its default CSS styling.

If you are curious about further details on the spec update, check out diffs here and here.

Profile photo of Eiji Kitamura

Eiji is a Developer Advocate

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 3.0 License, and code samples are licensed under the Apache 2.0 License. For details, see our Terms of Service.