dialog tag

Why does the following code not work on OSX High Sierra 10.13.3 with Safari 11.0.3?

It works on all other browsers.


<!DOCTYPE html>

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

<title>Dialog test</title>

</head>

<body>

<dialog>This text should not be displayed.</dialog>

<br />There should be only one line of text.

</body>

</html>

iMac, macOS High Sierra (10.13.3), Safari 11.0.3

Posted on Mar 23, 2018 12:02 AM

Reply

Similar questions

2 replies

Mar 23, 2018 6:21 AM in response to Divasti

As has been stated by QuickTimeKirk, Safari is a no-show for dialog support, as dialog is a recommendation in the forthcoming HTML 5.2 specification. More dialog examples if using Firefox, Android, Chrome, or Opera — all browsers under the influence of Google's “forge ahead, standards be d***ed” mentality. Microsoft does not support dialog in IE, or Edge either.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

dialog tag

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.