Skip to content

IE star hacks are incompatible with CSS Nesting #344

@romainmenke

Description

@romainmenke

test('IE hacks', function () {
assertRuleSet('selector { display: inline-block; *display: inline; }', Rules.IEStarHack);
assertRuleSet('selector { background: #00f; /* all browsers including Mac IE */ *background: #f00; /* IE 7 and below */ _background: #f60; /* IE 6 and below */ }', Rules.IEStarHack, Rules.IEStarHack);
});

* should start rule parsing for css nesting.

Maybe it is safe to remove the custom handling for IE star hacks, given the age of the browsers targeted by these hacks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions