Skip to content

fix(common): A null value should remove the style on IE #21679

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

vicb
Copy link
Contributor

@vicb vicb commented Jan 20, 2018

fixes #21064

Kudos to @ericmartinezr for a very detailed analysis of the issue in #21064

(The added test is failing on IE without the fix)

@vicb vicb added state: WIP area: common Issues related to APIs in the @angular/common package labels Jan 20, 2018
@vicb vicb added the target: patch This PR is targeted for the next patch release label Jan 20, 2018
@vicb vicb changed the title [WIP] fix(common): A null value should remove the style on IE fix(common): A null value should remove the style on IE Jan 20, 2018
@vicb vicb added action: review The PR is still awaiting reviews from at least one requested reviewer and removed state: WIP labels Jan 20, 2018
@mary-poppins
Copy link

You can preview 08db567 at https://pr21679-08db567.ngbuilds.io/.

@@ -61,6 +61,19 @@ import {ComponentFixture, TestBed, async} from '@angular/core/testing';
expectNativeEl(fixture).not.toHaveCssStyle('max-width');
}));

// https://github.com/angular/angular/issues/21064
it('should add and remove styles which names are not dash-cased', async(() => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrong description

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could swear it was repeated. False alarm I guess o:

@vicb vicb added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Jan 22, 2018
@mhevery mhevery closed this in 7d49443 Jan 22, 2018
mhevery pushed a commit that referenced this pull request Jan 22, 2018
@vicb vicb deleted the 0117-nullStyle branch January 29, 2018 19:25
jbogarthyde pushed a commit to jbogarthyde/angular that referenced this pull request Feb 23, 2018
leo6104 pushed a commit to leo6104/angular that referenced this pull request Mar 25, 2018
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker area: common Issues related to APIs in the @angular/common package cla: yes target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[core] ngStyle doesn't remove nulled styles in IE11
5 participants