But we can still use these today with progressive enhancements! π
... but only after you have carefully tested nonsupporting browsers. β οΈ
The βdialogβ example looks very bad on latest stable Safari (12.1):
but that can be fixed with proper CSS (although Iβve tested it only superficially):
dialog { background: white; border: medium solid black; padding: 1em; } dialog:not([open]) { display: none !important; }
At this point, I would still test IE and Edge before using it.
There's a polyfill for those, although Edge will arguably gain support as soon as it switches to Chromium.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
... but only after you have carefully tested nonsupporting browsers. β οΈ
The βdialogβ example looks very bad on latest stable Safari (12.1):
but that can be fixed with proper CSS (although Iβve tested it only superficially):
At this point, I would still test IE and Edge before using it.
There's a polyfill for those, although Edge will arguably gain support as soon as it switches to Chromium.