Skip to content

Style Binding in RC.1 does not work for some CSS selectors (background-image, transform) #8491

@Spittal

Description

@Spittal

Steps to reproduce and a minimal demo of the problem

Both of the plunks below will work if you go to config.js and switch var ngVer = '@2.0.0-rc.1'; to var ngVer = '@2.0.0-rc.0';

Plunk showing [style.background-image] failing:
http://plnkr.co/edit/rRKupFRs2i4YoAU7Ayi1?p=preview

Plunk showing [style.transform] failing
http://plnkr.co/edit/fP12KXNfL8TxXmuydxCx?p=preview

Current behavior
Some style bindings like background-image and transform are not working in RC.1 however. the style binding for opacity does work.

Expected/desired behavior
For the style bindings to reflect the property given to them

Other information
We've tested only a small set of the selectors, there may be more that do and do not work.

All of the bindings work in RC0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions