Skip to content

b-page__css: Inconsistent behavior of ie-key for desktop and touch #512

@narqo

Description

@narqo

For the same BEMJSON for b-page block we have different results

{ elem : 'css', url : '10-simple', ie : true }

For desktop:

<!--[if gt IE 9]><!--><link rel="stylesheet" href="_10-simple.css"/><!--<![endif]-->
<!--[if IE 6]><link rel="stylesheet" href="_10-simple.ie6.css"/><![endif]-->
<!--[if IE 7]><link rel="stylesheet" href="_10-simple.ie7.css"/><![endif]-->
<!--[if IE 8]><link rel="stylesheet" href="_10-simple.ie8.css"/><![endif]-->
<!--[if IE 9]><link rel="stylesheet" href="_10-simple.ie9.css"/><![endif]-->

For touch:

<!--[if gte IE 9]><link rel="stylesheet" href="_10-simple"/><![endif]-->

Note that we lost .css suffix on the touch level

Metadata

Metadata

Assignees

No one assigned

    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