Skip to content

IE conditional comments not taken into account #22

Open
@tomlankhorst

Description

@tomlankhorst

Magento adds some compatibility styles with additional parameters for older IE versions. I.e. in app/design/adminhtml/default/default/layout/main.xml on line 86 and further:

<action method="addItem"><type>skin_css</type><name>iestyles.css</name><params/><if>lt IE 8</if></action>
<action method="addItem"><type>skin_css</type><name>below_ie7.css</name><params/><if>lt IE 7</if></action>
<action method="addItem"><type>skin_css</type><name>ie7.css</name><params/><if>IE 7</if></action>

When these 'items' are put at the end of the HTML output, their IE conditional comments are not respected. This leads to parsing of IE styles in non-IE browsers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions