HTMLEditorKit 是否根据 IE 版本呈现?
Does HTMLEditorKit render depending on IE version?
在呈现 HTML 内容时,HTMLEditorKit
忽略如下所示的标签(用于在 IE7+ 浏览器中模拟 IE7)是否正确?
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">
关于 HTMLEditorKit
的文档提到它:
..supports HTML version 3.2 (with some extensions), and is migrating toward version 4.0. The <applet>
tag is not supported, but some support is provided for the <object>
tag.
所以我不需要担心 IE 渲染模式,因为这些模式无论如何都会被忽略?
So I shouldn't need to be concerned about IE rendering modes as these will be ignored anyway?
写成那样肯定会被忽略。
但是如果 HTML 依赖于在实际浏览器中显示的兼容模式,我猜它会使用对于 Swing 样式引擎来说过于复杂的样式。
在呈现 HTML 内容时,HTMLEditorKit
忽略如下所示的标签(用于在 IE7+ 浏览器中模拟 IE7)是否正确?
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">
关于 HTMLEditorKit
的文档提到它:
..supports HTML version 3.2 (with some extensions), and is migrating toward version 4.0. The
<applet>
tag is not supported, but some support is provided for the<object>
tag.
所以我不需要担心 IE 渲染模式,因为这些模式无论如何都会被忽略?
So I shouldn't need to be concerned about IE rendering modes as these will be ignored anyway?
写成那样肯定会被忽略。
但是如果 HTML 依赖于在实际浏览器中显示的兼容模式,我猜它会使用对于 Swing 样式引擎来说过于复杂的样式。