Deprecate SafeStyle
and DomSanitizer.bypassSecurityTrustStyle
#40659
Labels
comp: core
Runtime issues
comp: security
core: styling bindings
P3
Medium priority issue that needs to be resolved
refactoring
Issue that involves refactoring or code-cleanup
security
Issue related to security
Milestone
(copied from internal tracker)
The
SafeStyle
type is returned from theDomSanitizer.bypassSecurityTrustStyle
method. Both of these APIs are apart of style sanitization in Angular. With the style sanitization refactor work, there will no longer be any need for these APIs in the framework, therefore, both theSafeStyle
andDomSanitizer.bypassSecurityTrustStyle
APIs will need to be deprecated.The following steps need to be completed:
SafeStyle
in the API docs (@deprecated)DomSanitizer.bypassSecurityTrustStyle
in the API docs (@deprecated)DomSanitizer.bypassSecurityTrustStyle
is usedRelated design doc: https://hackmd.io/_sF2TzXLSiuuYbY88MpdQA?view
The text was updated successfully, but these errors were encountered: