4
我们生成html文件以在浏览器上显示swf。以下是我们的HTML代码:Windows 10 Edge浏览器中的HTML注释解析问题
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- saved from url=(0021)http://www.domain_name.com -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Keywords" content="xxxxx">
<meta name="Description" content="">
<title>test</title> // Title Of The HTML
<link rel="image_src" href="edge05_thumb.png">
<link rel="viewlet" href="edge05.swf"> // SWF
<script language="javascript" type="text/javascript">
<!--
document.onhelp=new Function("return false");
window.onhelp=new Function("return false");
// -->
</script>
...
</html>
此代码适用于所有其他浏览器,但在边缘它显示白色屏幕。从我的分析中我发现,只要我删除第二行(saved from url=(0021)http://www.domain_name.com)
的评论,它就可以正常工作。
我试着在html中添加注释,但没有奏效。
你能提供repros你在边缘发现的问题减少的HTML文件? – Sampson
请勿在此处粘贴代码,而应将[.Dtml](http://onedrive.com)上的.html文件托管。 – Sampson