javahtmlswinginternet-explorerhtmleditorkit

Does HTMLEditorKit render depending on IE version?


Is correct that HTMLEditorKit ignores tags such as seen below (used to emulate IE7 in a IE7+ browser) when rendering HTML content?

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">

Documentation on HTMLEditorKit mentions that it:

..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.

So I shouldn't need to be concerned about IE rendering modes as these will be ignored anyway ?


Solution

  • So I shouldn't need to be concerned about IE rendering modes as these will be ignored anyway?

    When written like that, they certainly will be ignored.

    But then if the HTML relies on compatibility modes for display in actual browsers, I'd guess it would use styles that are too complex for the Swing styling engine.