refactor(core): remove duplicate check in `defaultStyleSanitizer` (#26947)
refactor(core): remove duplicate check in `defaultStyleSanitizer` (#26947)

PR Close #26947

StephenFluin/angular,juristr/angular,mlaval/angular,vikerman/angular,filipesilva/angular,petebacondarwin/angular,gdi2290/angular,mhevery/angular,petebacondarwin/angular,Brocco/angular,manekinekko/angular,mhevery/angular,Toxicable/angular,mgechev/angular,blesh/angular,shairez/angular,IdeaBlade/angular,alxhub/angular,StephenFluin/angular,ocombe/angular,brandonroberts/angular,Toxicable/angular,mgechev/angular,blesh/angular,gnomeontherun/angular,matsko/angular,Brocco/angular,wKoza/angular,IgorMinar/angular,mlaval/angular,IgorMinar/angular,gdi2290/angular,JiaLiPassion/angular,snaptech/angular,angular/angular,petebacondarwin/angular,alexeagle/angular,filipesilva/angular,angular/angular,gkalpak/angular,shairez/angular,IgorMinar/angular,matsko/angular,vikerman/angular,wKoza/angular,Brocco/angular,angular-indonesia/angular,jasonaden/angular,mprobst/angular,jasonaden/angular,Toxicable/angular,shairez/angular,JiaLiPassion/angular,ocombe/angular,mhevery/angular,snaptech/angular,shairez/angular,mhevery/angular,mlaval/angular,mprobst/angular,jasonaden/angular,manekinekko/angular,angular/angular,filipesilva/angular,brandonroberts/angular,brandonroberts/angular,JiaLiPassion/angular,hansl/angular,ocombe/angular,jasonaden/angular,hansl/angular,Toxicable/angular,blesh/angular,sarunint/angular,alexeagle/angular,alxhub/angular,hansl/angular,gkalpak/angular,brandonroberts/angular,mgechev/angular,alxhub/angular,wKoza/angular,mprobst/angular,vikerman/angular,filipesilva/angular,sarunint/angular,manekinekko/angular,petebacondarwin/angular,IdeaBlade/angular,petebacondarwin/angular,ocombe/angular,IgorMinar/angular,mhevery/angular,alexeagle/angular,angular-indonesia/angular,vikerman/angular,wKoza/angular,juristr/angular,juristr/angular,gkalpak/angular,wKoza/angular,hansl/angular,gdi2290/angular,manekinekko/angular,hansl/angular,hansl/angular,filipesilva/angular,brandonroberts/angular,vikerman/angular,mgechev/angular,shairez/angular,petebacondarwin/angular,mprobst/angular,IdeaBlade/angular,JiaLiPassion/angular,matsko/angular,sarunint/angular,gnomeontherun/angular,mhevery/angular,alexeagle/angular,snaptech/angular,mlaval/angular,StephenFluin/angular,Toxicable/angular,sarunint/angular,snaptech/angular,mprobst/angular,alxhub/angular,ocombe/angular,blesh/angular,gdi2290/angular,IgorMinar/angular,Brocco/angular,IdeaBlade/angular,jasonaden/angular,StephenFluin/angular,gnomeontherun/angular,alxhub/angular,IdeaBlade/angular,wKoza/angular,jasonaden/angular,gdi2290/angular,matsko/angular,mprobst/angular,alexeagle/angular,blesh/angular,gdi2290/angular,angular-indonesia/angular,brandonroberts/angular,gnomeontherun/angular,Toxicable/angular,angular/angular,gkalpak/angular,matsko/angular,juristr/angular,sarunint/angular,mlaval/angular,mgechev/angular,ocombe/angular,vikerman/angular,juristr/angular,IgorMinar/angular,Brocco/angular,manekinekko/angular,snaptech/angular,manekinekko/angular,alexeagle/angular,snaptech/angular,StephenFluin/angular,sarunint/angular,juristr/angular,Brocco/angular,angular-indonesia/angular