fix(ivy): ensure template styles/classes are applied before directives are instantiated (#29269)
Angular Ivy interprets inline static style/class attribute values as instructions that are processed whilst an element gets created. Because these inline style values are referenced by style/class bindings, their inline style values are applied at a later stage. Despite them being eventually applied, their values should be applied earlier before any directives are instantiated so that directive code can rely on any inline style/class changes. This patch ensures that all static style/class attribute values are applied (rendered) on the element before directives are instantiated. Jira Issue: FW-1133 PR Close #29269
This commit is contained in:
@ -605,9 +605,6 @@
|
||||
{
|
||||
"name": "renderInitialStyles"
|
||||
},
|
||||
{
|
||||
"name": "renderInitialStylingValues"
|
||||
},
|
||||
{
|
||||
"name": "renderStringify"
|
||||
},
|
||||
|
@ -425,9 +425,6 @@
|
||||
{
|
||||
"name": "renderInitialStyles"
|
||||
},
|
||||
{
|
||||
"name": "renderInitialStylingValues"
|
||||
},
|
||||
{
|
||||
"name": "renderStringify"
|
||||
},
|
||||
|
@ -1178,9 +1178,6 @@
|
||||
{
|
||||
"name": "renderInitialStyles"
|
||||
},
|
||||
{
|
||||
"name": "renderInitialStylingValues"
|
||||
},
|
||||
{
|
||||
"name": "renderStringify"
|
||||
},
|
||||
|
Reference in New Issue
Block a user