if (XhtmlRenderer.isInaccessibleMode(arc))
return false;
// For this switch - and for getting the major version - tunnel
// to CoreRenderingContext
TrinidadAgent agent = ((CoreRenderingContext) arc).getTrinidadAgent();
switch (agent.getAgentApplication())
{
case IEXPLORER:
if (agent.getAgentOS() == TrinidadAgent.OS_WINDOWS)
{
// IE 4 doesn't support the label hack.
if (agent.getAgentMajorVersion() == 4)
return false;
// JDev VE masquerades as IE Windows, but doesn't support this
if (agent.getCapability(TrinidadAgent.CAP_IS_JDEV_VE) != null)
return false;
// IE 5 and 6 do.
return true;
}