DEV Community

Discussion on: Exploring HTML dialog element with examples

fahad07_khan profile image
Fahad Khan

Good information!
But what does it mean code below,
when I commenting this, It works too

atapas profile image
Tapas Adhikary Author

That's the polyfill. It is added for the browsers where the support is not in built like, safari.. Also in Firefox latest, it will work without polyfill but the backdrop style will not work.

Chrome is very generous.. It works in chrome without the polyfill.

Thanks for reading through.. Appreciate.