Skip to content

IE11 problem with custom data attributes and CSS #20

@niloy

Description

@niloy

IE11(and maybe lower version too) has problems with custom data-* attribute
and css. If you are using custom data attribute to hook css and then change the
value of the attribute at runtime, the CSS that is to be applied wont get
applied.

Fiddle showing the problem: http://jsfiddle.net/z8a38wd2/

On IE11, nothing will happen, but on other browser, a blue or red square will
appear. To fix the problem, you have to go back to using class.

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