fix(ivy): use proper sanitizer names (#25817)

Fixes #25816

PR Close #25817
This commit is contained in:
cexbrayat
2018-09-05 17:13:17 +02:00
committed by Igor Minar
parent 379e8c5e19
commit 21009b06a1
3 changed files with 19 additions and 17 deletions

View File

@ -253,7 +253,7 @@ describe('compiler compliance: styling', () => {
template: function MyComponent_Template(rf, $ctx$) {
if (rf & 1) {
$r3$.ɵelementStart(0, "div");
$r3$.ɵelementStyling(null, null, $r3$zss);
$r3$.ɵelementStyling(null, null, $r3$defaultStyleSanitizer);
$r3$.ɵelementEnd();
}
if (rf & 2) {
@ -310,7 +310,7 @@ describe('compiler compliance: styling', () => {
template: function MyComponent_Template(rf, $ctx$) {
if (rf & 1) {
$r3$.ɵelementStart(0, "div", $e0_attrs$);
$r3$.ɵelementStyling(null, $e0_styling$, $r3$zss);
$r3$.ɵelementStyling(null, $e0_styling$, $r3$defaultStyleSanitizer);
$r3$.ɵelementEnd();
}
if (rf & 2) {
@ -318,7 +318,7 @@ describe('compiler compliance: styling', () => {
$r3$.ɵelementStylingProp(0, 1, $ctx$.myWidth);
$r3$.ɵelementStylingProp(0, 2, $ctx$.myHeight);
$r3$.ɵelementStylingApply(0);
$r3$.ɵelementAttribute(0, "style", $r3$.ɵbind("border-width: 10px"), $r3$zs);
$r3$.ɵelementAttribute(0, "style", $r3$.ɵbind("border-width: 10px"), $r3$.ɵsanitizeStyle);
}
}
});
@ -369,7 +369,7 @@ describe('compiler compliance: styling', () => {
template: function MyComponent_Template(rf, ctx) {
if (rf & 1) {
$r3$.ɵelementStart(0, "div");
$r3$.ɵelementStyling(null, _c0, $r3$zss);
$r3$.ɵelementStyling(null, _c0, $r3$defaultStyleSanitizer);
$r3$.ɵelementEnd();
}
if (rf & 2) {
@ -529,7 +529,7 @@ describe('compiler compliance: styling', () => {
}
if (rf & 2) {
$r3$.ɵelementAttribute(0, "class", $r3$.ɵbind("round"));
$r3$.ɵelementAttribute(0, "style", $r3$.ɵbind("height:100px"), $r3$zs);
$r3$.ɵelementAttribute(0, "style", $r3$.ɵbind("height:100px"), $r3$.ɵsanitizeStyle);
}
}
});